467,146 Members | 988 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,146 developers. It's quick & easy.

[Web Service] Can't get the web service response in document mode

Hi,
I am currently trying to test an home-made document style web-service
with VB.NET.
I can send my request without problem, but I can't extract the return
document from the SOAP response message.

In the in the Me.Invoke call, the results does not contain anything.

Public Function euro2dollar(ByVal fileIn As String) As
<System.Xml.Serialization.XmlElementAttribute("fil eOut")> String
Dim results() As Object = Me.Invoke("euro2dollar", New
Object() {fileIn})
Return CType(results(0),String)
End Function
I would like to know if something is obviously wrong with my my
response message.

<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:euro2dollarResponse xmlns:ns1="http://XXX/WebServices/samples">
<fileOut xsi:type="xsd:string">
200017520012345678901000000005656
200017520012345678901000000000260
</fileOut>
</ns1:euro2dollarResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Thanks,
Julien
Nov 20 '05 #1
  • viewed: 960
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Gardar | last post: by
3 posts views Thread by Jerome Cohen | last post: by
1 post views Thread by hinsbr@cableone.net | last post: by
5 posts views Thread by cj | last post: by
5 posts views Thread by Oriane | last post: by
5 posts views Thread by TompIfe | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.