ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP Request Problems

Post new topic  Reply to topic
 SOAP Request Problems « View previous topic :: View next topic » 
Author Message
dmw1986
PostPosted: Thu Nov 13, 2008 7:12 am    Post subject: SOAP Request Problems Reply with quote

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
View user's profile Send private message
m4c0
PostPosted: Thu Nov 13, 2008 7:17 am    Post subject: Reply with quote

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
View user's profile Send private message
dmw1986
PostPosted: Thu Nov 13, 2008 7:22 am    Post subject: Reply with quote

Apprentice

Joined: 24 Sep 2008
Posts: 35

I'm very new to WMB. How would I check that out?
Back to top
View user's profile Send private message
m4c0
PostPosted: Thu Nov 13, 2008 7:30 am    Post subject: Reply with quote

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
View user's profile Send private message
dmw1986
PostPosted: Thu Nov 13, 2008 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SOAP Request Problems
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.