Hi,
I had successfully deployed my EJB web service.
Now i m trying to create a client to access the web service
the code i m using is
URL url =new
URL("http://192.10.10.58:8080/JoinBean/services/JoinServiceEJB?wsdl");
| QName qname = new
QName("http://join.synxis.org","JoinEndpointService");
| ServiceFactory factory = ServiceFactory.newInstance();
| Service service = factory.createService(url, qname);
|
| JoinEndpoint endpoint =
(JoinEndpoint)service.getPort(JoinEndpoint.class);
| JoinArray joinArray=new JoinArray();
| StatusArray statusArray=endpoint.addJoinDetails(joinArray);
| Status[] s=statusArray.getStatusArray();
|
|
| System.out.println("Join ID : " + s[0].getJoinId());
| System.out.println("Status Desc : " + s[0].getStatusDesc());
when i run this code i m getting this error in the client side
Exception in thread "main" AxisFault
| faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
| faultSubcode:
| faultString: org.xml.sax.SAXException: Deserializing parameter
'addJoinDetailsReturn': could not find deserializer for type
{http://join.synxis.org}StatusArray
| faultActor:
| faultNode:
| faultDetail:
| {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Deserializing parameter 'addJoinDetailsReturn': could not find deserializer
for type {http://join.synxis.org}StatusArray
| at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:273)
| at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1025)
| at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:159)
| at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:844)
| at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:198)
| at org.apache.axis.message.RPCElement.getParams(RPCElement.java:323)
| at org.apache.axis.client.Call.invoke(Call.java:2417)
| at org.apache.axis.client.Call.invoke(Call.java:2316)
| at org.apache.axis.client.Call.invoke(Call.java:1773)
| at
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:159)
| at $Proxy0.addJoinDetails(Unknown Source)
| at org.synxis.join.JoinClient.main(JoinClient.java:37)
|
| {http://xml.apache.org/axis/}hostname:tapthi
How to solve this problem...
pls help me.....
Thanks in Advance
Rgds
Gayathiri
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860717#3860717
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860717
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development