Author |
Message
|
kathirvelt |
Posted: Mon Apr 21, 2014 2:58 pm Post subject: SOAPRequest node WS-Security issue. |
|
|
Apprentice
Joined: 02 Oct 2010 Posts: 32
|
Hi,
Calling webservice using soaprequest node, I use soapreqeust node as consumer, constructing the request using ESQL in SOAPReqeust node getting following exception. Please advice.
Exception:
RecoverableException
File:CHARACTER:/build/S000_P/src/WebServices/WSLibrary/ImbSOAPRequestHelper.cpp
Line:INTEGER:2129
Function:CHARACTER:ImbSOAPRequestHelper::makeSOAPRequest
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
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: SOAP message MUST NOT contain a Document Type Declaration(DTD)
Insert
Type:INTEGER:5
Text:CHARACTER:Frame : 0 org.apache.axiom.om.OMException: SOAP message MUST NOT contain a Document Type Declaration(DTD)| @: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createDTD(StAXSOAPModelBuilder.java:408)| @: org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:237)| @: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:157)| @: org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:106)| @: com.ibm.broker.axis2.SoapUtilities.createSOAPMessage(SoapUtilities.java:2220)| @: com.ibm.broker.axis2.SoapUtilities.createSOAPMessage(SoapUtilities.java:1920)| @: com.ibm.broker.axis2.Axis2Requester.processResponseMessageSync(Axis2Requester.java:2116)| |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 21, 2014 8:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What part of
Quote: |
SOAP message MUST NOT contain a Document Type Declaration(DTD) |
did you not understand?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kathirvelt |
Posted: Tue Apr 22, 2014 8:37 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2010 Posts: 32
|
I understand, but request does not contain any document type declaratios. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Apr 22, 2014 8:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
but the response message apparently does. |
|
Back to top |
|
 |
kathirvelt |
Posted: Tue Apr 22, 2014 10:05 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2010 Posts: 32
|
How do I avoid this error, should I choose any specific options in SOAPRequest node? Please let me know. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Apr 22, 2014 5:17 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
kathirvelt wrote: |
How do I avoid this error, should I choose any specific options in SOAPRequest node? Please let me know. |
Why would you think it would effect any change when you are being told the problem is in the response?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
ganesh |
Posted: Tue Apr 22, 2014 7:54 pm Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
kathirvelt wrote: |
How do I avoid this error, should I choose any specific options in SOAPRequest node? Please let me know. |
Ask the provider to send a valid response that would validate against the wsdl. |
|
Back to top |
|
 |
kathirvelt |
Posted: Wed Apr 23, 2014 2:48 pm Post subject: |
|
|
Apprentice
Joined: 02 Oct 2010 Posts: 32
|
Response does not contain document type declaration. Contacted provider and they are sending valid response.
mustUnderstand attribute is not sent in the request header and in broker 8.0.* we dont have option to set that. We are going to apply latest fix pack and test this. |
|
Back to top |
|
 |
|