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 » SOAPRequest node WS-Security issue.

Post new topic  Reply to topic
 SOAPRequest node WS-Security issue. « View previous topic :: View next topic » 
Author Message
kathirvelt
PostPosted: Mon Apr 21, 2014 2:58 pm    Post subject: SOAPRequest node WS-Security issue. Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 21, 2014 8:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
kathirvelt
PostPosted: Tue Apr 22, 2014 8:37 am    Post subject: Reply with quote

Apprentice

Joined: 02 Oct 2010
Posts: 32

I understand, but request does not contain any document type declaratios.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 22, 2014 8:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

but the response message apparently does.
Back to top
View user's profile Send private message
kathirvelt
PostPosted: Tue Apr 22, 2014 10:05 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Apr 22, 2014 5:17 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
ganesh
PostPosted: Tue Apr 22, 2014 7:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
kathirvelt
PostPosted: Wed Apr 23, 2014 2:48 pm    Post subject: Reply with quote

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
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 » SOAPRequest node WS-Security issue.
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.