Find Jobs
Hire Freelancers

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

€30-250 EUR

已完成
已发布超过 3 年前

€30-250 EUR

货到付款
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
项目 ID: 28041109

关于此项目

2提案
远程项目
活跃4 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 在2天之内
4.9 (156条评论)
7.0
7.0
2威客以平均价€75 EUR来参与此工作竞价
用户头像
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 在7天之内
5.0 (2条评论)
2.3
2.3

关于客户

ITALY的国旗
Modica, Italy
0.0
0
付款方式已验证
会员自11月 5, 2020起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。