By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,469 Members | 1,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,469 IT Pros & Developers. It's quick & easy.

Java WebService

P: 1
Hi friend,
This tumodav. I have created a web service. I need to pass complex type of parameter. like from client side user can send user define datatype (ex. any class type object). it will create all interfaces and all other task. when I m going to depoye in JRun then it shoe me this error:

D:\Program Files\Allaire\JRun\servers\axis\soap\WEB-INF\classes\ds\ws>java org.apache.axis
.client.AdminClient -l http://localhost:8104/soap/services/AdminService deploy.wsdd
Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.reflect.InvocationTargetException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.reflect.InvocationTargetExce ptio
n
at org.apache.axis.message.SOAPFaultBuilder.createFau lt(SOAPFaultBuilder.java:222)

at org.apache.axis.message.SOAPFaultBuilder.endElemen t(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.en dElement(DeserializationConte
xt.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.sc anEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher
.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Sour
ce)
at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(U nknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.pa rse(DeserializationContext.ja
va:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPar t.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.ja va:435)
at org.apache.axis.handlers.soap.MustUnderstandChecke r.invoke(MustUnderstandChecke
r.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClien t.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java :2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at org.apache.axis.client.AdminClient.process(AdminCl ient.java:439)
at org.apache.axis.client.AdminClient.process(AdminCl ient.java:404)
at org.apache.axis.client.AdminClient.process(AdminCl ient.java:410)
at org.apache.axis.client.AdminClient.process(AdminCl ient.java:320)
at org.apache.axis.client.AdminClient.main(AdminClien t.java:463)

{http://xml.apache.org/axis/}hostname:usa

can you please tell me, how can I pass complex type of data. if I change that complex type data type in any java primitive type then it will successfully deployee.
But I need to pass complex data type insted of primitive data type.
I appreciate, if you come online with hotmail in my Id
<Removed:Against site rules>"


Thanks in advance.....

tumodav
java Arct.
Mar 8 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.