Author |
Message
|
dmw1986 |
Posted: Thu Nov 13, 2008 7:12 am Post subject: SOAP Request Problems |
|
|
Apprentice
Joined: 24 Sep 2008 Posts: 35
|
When trying to invoke an external web service i am repeatingly getting this error. Nothing I try is working, does anybody have any idea? Its coming out of the failure point of the node. Heres the exceptions.
Code: |
RecoverableException
File:CHARACTER:F:\build\S000_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
Line:INTEGER:1882
Function:CHARACTER:ImbSOAPRequestNode::logWebServiceInvocationException
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPv610
Severity:INTEGER:3
Number:INTEGER:3162
Text:CHARACTER:WebService Request Exception
Insert
Type:INTEGER:5
Text:CHARACTER:POST /testwebservices/warrant/services/WarrantExternal HTTP/1.1
RecoverableException
File:CHARACTER:F:\build\S000_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
Line:INTEGER:1039
Function:CHARACTER:ImbSOAPRequestNode::requestData
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPv610
Severity:INTEGER:3
Number:INTEGER:3701
Text:CHARACTER:Error Making SOAP JNI Call: Axis2Requester_processResponseMessageSync
Insert
Type:INTEGER:5
Text:CHARACTER:Axis2Requester_processResponseMessageSync
Insert
Type:INTEGER:5
Text:CHARACTER:org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0xe1) was found in the prolog of the document.
Insert
Type:INTEGER:5
Text:CHARACTER:Frame : 0 org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0xe1) was found in the prolog of the document.
@: org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:205)
@: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:179)
@: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:124)
@: com.ibm.broker.axis2.SoapUtilities.createSOAPMessage(SoapUtilities.java:795)
@: com.ibm.broker.axis2.Axis2Requester.processResponseMessageSync(Axis2Requester.java:881)
@: com.ibm.broker.plugin.MbOutputTerminal._propagate(Native Method)
@: com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:103)
@: com.ibm.broker.soap.SoapWrapperNode.evaluate(SoapWrapperNode.java:122)
@: com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1424)
Frame : 1 javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0xe1) was found in the prolog of the document.
@: com.ibm.xml.xlxp.api.stax.msg.StAXMessageProvider.throwXMLStreamException(StAXMessageProvider.java:68)
@: com.ibm.xml.xlxp.api.stax.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:535)
@: com.ibm.xml.xlxp.api.stax.XMLInputFactoryImpl$XMLStreamReaderProxy.next(XMLInputFactoryImpl.java:173)
@: org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:120)
@: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:179)
@: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:124)
@: com.ibm.broker.axis2.SoapUtilities.createSOAPMessage(SoapUtilities.java:795)
@: com.ibm.broker.axis2.Axis2Requester.processResponseMessageSync(Axis2Requester.java:881)
@: com.ibm.broker.plugin.MbOutputTerminal._propagate(Native Method)
@: com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:103)
@: com.ibm.broker.soap.SoapWrapperNode.evaluate(SoapWrapperNode.java:122)
@: com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1424) |
Last edited by dmw1986 on Thu Nov 13, 2008 7:23 am; edited 1 time in total |
|
Back to top |
|
 |
m4c0 |
Posted: Thu Nov 13, 2008 7:17 am Post subject: |
|
|
 Novice
Joined: 07 Nov 2008 Posts: 17
|
Quote: |
javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0xe1) was found in the prolog of the document. |
Are you declaring your XML as unicode, but including extended ASCII chars on its body? This usually happens with latin accents... |
|
Back to top |
|
 |
dmw1986 |
Posted: Thu Nov 13, 2008 7:22 am Post subject: |
|
|
Apprentice
Joined: 24 Sep 2008 Posts: 35
|
I'm very new to WMB. How would I check that out? |
|
Back to top |
|
 |
m4c0 |
Posted: Thu Nov 13, 2008 7:30 am Post subject: |
|
|
 Novice
Joined: 07 Nov 2008 Posts: 17
|
dmw1986 wrote: |
I'm very new to WMB. How would I check that out? |
This is seems to be related to the webservice you are calling... Have you tried calling it from an standalone application (like SoapUI)?
Based on the stacktrace, the problem is the response from WS... |
|
Back to top |
|
 |
dmw1986 |
Posted: Thu Nov 13, 2008 7:40 am Post subject: |
|
|
Apprentice
Joined: 24 Sep 2008 Posts: 35
|
When I try to call the webservice with XMLSpy i get a error on post with a (500) code and no return. If I use SoapUI I get this
Error 500: edu.emory.mathcs.backport.java.util.concurrent.CountDownLatch
However if i go to IE. Put in the URL in the WSDL, with a ?wsdl on the end i can pull up the WSDL. This is another agencys web service i'm calling so maybe its something on their end. |
|
Back to top |
|
 |
|