Find Jobs
Hire Freelancers

Request/Response from .NET webservice client (VB 4.5) vs Javax-ws Apache hosted service

€30-250 EUR

Completed
Posted over 3 years ago

€30-250 EUR

Paid on delivery
I created a WebService in VisualStudio Professional (.NET 2.0) and I migrated it to VS 2019 (.NET 4.7.2) I set authentication to Basic as required by the service and I can connect to the configure endpoint, which as a response to DirAsync request issues an error "Il contenuto della risposta rilevato dal client è di tipo 'multipart/related; boundary="MIMEBoundaryurn_uuid_E39B3B6C2A52BD11C21604500039235"; type="application/xop+xml" Please note that to issue a put (the mai operation) I have to insert in the request a multipart/related message as well, namely the fille name and an array of byte as the conversion from an xml file, signed to become a .p7m signed file Ho creato un WebService con VisualStudio 2012 Professional (.NET 2.0) e l'ho migrato in VisualStudio2019 Community, usando .NET 4.7.2. Ho impostato l'autenticazione a Basic come richiesto dal servizio e mi connetto all'endpoint, che alla richiesta DirAsync risponde con un errore "Il contenuto della risposta rilevato dal client è di tipo 'multipart/related; boundary="MIMEBoundaryurn_uuid_E39B3B6C2A52BD11C21604500039235"; type="application/xop+xml". Da notare che per effettuare una put devo inviare nel file wsdl un array di Bytes a seguire del nome del file, credo in formato multipart/related come la risposta. =====================relevant vb code================================== Option Strict Off Option Explicit On Imports [login to view URL] Imports [login to view URL] Imports [login to view URL] Imports [login to view URL] Friend Class MENU_Renamed Inherits [login to view URL] Dim WithEvents wsFtp As [login to view URL] ... ... ... Private Sub btnTest_Click(sender As Object, e As EventArgs) Handles [login to view URL] Const _tls12 As SslProtocols = [login to view URL] Const Tls12 As SecurityProtocolType = CType(_tls12, SecurityProtocolType) [login to view URL] = Tls12 wsFtp = New [login to view URL] Dim mycredentialCache As CredentialCache = New CredentialCache() Dim credentials As NetworkCredential = New NetworkCredential("LogId", "Password") [login to view URL](New Uri("[login to view URL]"), "Basic", credentials) [login to view URL] = mycredentialCache [login to view URL]("?") End Sub Private Sub wsFtp_dirCompleted(sender As Object, e As [login to view URL]) Handles [login to view URL] Try Dim res = [login to view URL] Dim r = res Catch ex As Exception Dim err As String = [login to view URL] If [login to view URL] IsNot Nothing Then err += vbCrLf + [login to view URL] End Try End Sub
Project ID: 28041109

About the project

2 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello there, I am interested inthe project. Could you please confirm if the project was working with .net 2.0 application with same web service reference and you need to run it in VB.net 2019? Thank You.
€100 EUR in 2 days
4.9 (156 reviews)
7.0
7.0
2 freelancers are bidding on average €75 EUR for this job
User Avatar
Hello. I see this is based on VB.net. I have good experiences in vb.net and api request/response. I can fix this issue in 1~2 hours. Thanks.
€50 EUR in 7 days
5.0 (2 reviews)
2.3
2.3

About the client

Flag of ITALY
Modica, Italy
0.0
0
Payment method verified
Member since Nov 5, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.