Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Web Services
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Web Services
AxisFault : Couldn't find deserializer for type
Nicky Eng
Ranch Hand
Posts: 378
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have a
java
client that invoking a web service.
here is my code:
Service service = factory.createService(wsdlURL, SERVICE_NAME); Call call = service.createCall(PORT_NAME, operationName); call.setTargetEndpointAddress("http://xxx.xxx.xxx.xxx:xxxx/services/SDPServices"); Object[] inParams = new Object[] {login_name, serv_id, "44444" , "3333333", "sender", "ref_id", 0 , "resURL" ,st , st2 }; String ob = (String) call.invoke(inParams); // obviously this line throws the error
I dont understand this error:
Anyone knows ?
Aug 24, 2009 2:37:20 PM org.apache.axis.client.Call invoke SEVERE: Exception: org.xml.sax.SAXException: Deserializing parameter 'return': could not find dese rializer for type {http://xsd.gateway.sdp.xxxxx.com}SDPResult at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja va:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen t.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at test.digi.TestCall.main(TestCall.java:66) AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Deserializing parameter 'return': could not find deserializer for type {http://xsd.gateway.sdp.xxxxx.com}SDPResult faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Deseri alizing parameter 'return': could not find deserializer for type {http://xsd.ga teway.sdp.xxxxx.com}SDPResult at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja va:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen t.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at test.digi.TestCall.main(TestCall.java:66) {http://xml.apache.org/axis/}hostname:websvr2 org.xml.sax.SAXException: Deserializing parameter 'return': could not find dese rializer for type {http://xsd.gateway.sdp.xxxxx.com}SDPResult at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.client.Call.invoke(Call.java:2470) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at test.digi.TestCall.main(TestCall.java:66) Caused by: org.xml.sax.SAXException: Deserializing parameter 'return': could no t find deserializer for type {http://xsd.gateway.sdp.xxxxx.com}SDPResult at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja va:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen t.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) ... 3 more
From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
The City calls upon her steadfast protectors. Now for a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Web Services problem
Problem while consuming a webservice that expects an xml packet as the request parameter
Error while running client code on axis webservice
saxexception-invalid element
calling a webservice
More...