ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "subhash@2" <subhash.chan...@daffodildb.com>
Subject wsdl2java and axis generated xml issue
Date Tue, 19 Dec 2006 11:47:51 GMT

Hi friends
i am using axis 2 and wsdl2java tool , to invoke a weservice, wsdl2java
generates java classes stubs for me , but when i give call to the specified
webservice method with proper parameters it throws an exception from
generated xml, stack trace is given below, so any buddy have any idea abt it
or to see the generated xml by apache axis APIs.
pls share with me 
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Server was unable to read request. --> There is an error in XML
document (14, 30). --> Guid should contain 32 digits with 4 dashes
(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Server was unable to read request. --&gt; There is an error in
XML document (14, 30). --&gt; Guid should contain 32 digits with 4 dashes
(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
faultActor:
faultNode:
faultDetail:

Server was unable to read request. --> There is an error in XML document
(14, 30). --> Guid should contain 32 digits with 4 dashes
(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:251)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1001)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
at org.apache.axis.client.Call.invoke(Call.java:2515)
at org.apache.axis.client.Call.invoke(Call.java:2210)
at org.apache.axis.client.Call.invoke(Call.java:2133)
at org.apache.axis.client.Call.invoke(Call.java:1656)
at
com.microsoft.www.EnterpriseManagement.Mom.Connector.V2.ConnectorServiceV2SoapStub.insertAlerts(ConnectorServiceV2SoapStub.java:1044)
at
com.oidev.bridgegate.mom.ClientService.getInsertAlerts(ClientService.java:120)
at com.oidev.bridgegate.mom.ClientService.main(ClientService.java:56)


Server was unable to read request. --> There is an error in XML document
(14, 30). --> Guid should contain 32 digits with 4 dashes
(xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:251)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1001)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
at org.apache.axis.client.Call.invoke(Call.java:2515)
at org.apache.axis.client.Call.invoke(Call.java:2210)
at org.apache.axis.client.Call.invoke(Call.java:2133)
at org.apache.axis.client.Call.invoke(Call.java:1656)
at
com.microsoft.www.EnterpriseManagement.Mom.Connector.V2.ConnectorServiceV2SoapStub.insertAlerts(ConnectorServiceV2SoapStub.java:1044)
at
com.oidev.bridgegate.mom.ClientService.getInsertAlerts(ClientService.java:120)
at com.oidev.bridgegate.mom.ClientService.main(ClientService.java:56)


basically i am giving call to a .net webservice from a java implementation
classes..
any suggestion will greatly appritiated
regards
subhash chander
email:;- subhash.chander@daffodildb.com
-- 
View this message in context: http://www.nabble.com/wsdl2java-and-axis-generated-xml--issue-tf2845436.html#a7945703
Sent from the Web Services - General mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message