View Single Post
  #4 (permalink)  
Old 07-13-2009, 9:58 AM
kguilmartin kguilmartin is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Jul 2009
Posts: 4
Reputation: 0
kguilmartin is on a distinguished programming path ahead
Default

I don't know how to view the request xml in VS.net, so I am posting the resquest xml from a SOATest client.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<getCountries
xmlns="http://server.services.web.eventdb.hermes.com/">
<ns1:getCountries
xmlns="" xmlns:ns1="http://server.services.web.eventdb.hermes.com/"/>
</getCountries>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


I still cannot invoke this operation in vb.net. It works fine in SOATest without any input arguments. The code below generates an exception:

Dim MyService As RefDataFunctionsBean.RefDataFunctionsImplService = New RefDataFunctionsBean.RefDataFunctionsImplService
Dim service As RefDataFunctionsBean.getCountries

Try

Dim Countries As RefDataFunctionsBean.country() = MyService.getCountries(service)
Catch ex As Exception

MsgBox(ex.Message)
End Try


Exception: javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://server.services.web.even
tdb.hermes.com/}RefDataFunctionsImplPort does not contain operation meta data for empty soap body

Please help! Thanks in advance!
Reply With Quote