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 » Problem calling a Web Service

Post new topic  Reply to topic
 Problem calling a Web Service « View previous topic :: View next topic » 
Author Message
nthepak
PostPosted: Tue Oct 07, 2008 3:25 am    Post subject: Problem calling a Web Service Reply with quote

Voyager

Joined: 19 Dec 2005
Posts: 79
Location: India

Hi,

I am trying to call an existing web service from my flow. Below is my esql code:

--Create HTTPHeader for the message
SET OutputRoot.HTTPRequestHeader.SOAPAction = 'generateFromXSLId';
SET OutputRoot.HTTPRequestHeader."Content-Type"='text/xml; charset=UTF-8';

--Declaring XML namespaces we will be using
DECLARE mySoapNS NAMESPACE 'http://schemas.xmlsoap.org/wsdl/soap/';
DECLARE myXSI NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';
DECLARE myXSD NAMESPACE 'http://www.w3.org/2001/XMLSchema';
DECLARE myNS1 NAMESPACE 'http://ejb.z27pdf.volvoit.com';
-- DECLARE myNS NAMESPACE 'http://customer';

--XML Declarations
SET OutputRoot.XMLNS.(XML.XmlDecl) ='';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Version)='1.0';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Encoding)='UTF-8';

--Creating SOAP Envelope
SET OutputRoot.XMLNS.mySoapNS:Envelope.(XML.NamespaceDecl)xmlns:"SOAP-ENV" = 'http://schemas.xmlsoap.org/soap/envelope/' ;
SET OutputRoot.XMLNS.mySoapNS:Envelope.(XML.NamespaceDecl)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance' ;
SET OutputRoot.XMLNS.mySoapNS:Envelope.(XML.NamespaceDecl)xmlns:xsdd = 'http://www.w3.org/2001/XMLSchema' ;

-- Populate the input XML message for WS Call
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.myNS1:ssaappli='P10ODIN';
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.myNS1:xslId=InputRoot.XML.DIFFUSION.HEADER.TYPDIF;
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.myNS1:xmlText=InputRoot.XML;

SET OutputLocalEnvironment.Destination.HTTP.RequestURL='http://was-intlyon38-01-wty.vitfr.volvo.net/P10PDF/web/services/PDFFopRenderer';

WHILE DEBUGGING, I AM GETTING A SOPA FAULT MESSAGE AS A RESPONSE FROM HTTP REQUEST NODE AS SHOWN BELOW

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:VersionMismatch</faultcode><faultstring><![CDATA[WSWS3052E: Error: Bad envelope namespace: http://schemas.xmlsoap.org/wsdl/soap/]]></faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>

I HAVE ALSO COPYING MY WSDL FILE AS SHOWN BELOW

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://ejb.z27pdf.volvoit.com" xmlns:impl="http://ejb.z27pdf.volvoit.com" xmlns:intf="http://ejb.z27pdf.volvoit.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<schema targetNamespace="http://ejb.z27pdf.volvoit.com" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<element name="resetAppliCachesResponse">
<complexType>
<sequence/>
</complexType>
</element>
<element name="generateFromXSLId">
<complexType>
<sequence>
<element name="ssaappli" nillable="true" type="xsd:string"/>
<element name="xslId" nillable="true" type="xsd:string"/>
<element name="xmlText" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="generateFromXSLIdResponse">
<complexType>
<sequence>
<element name="generateFromXSLIdReturn" type="xsd:base64Binary"/>
</sequence>
</complexType>
</element>
<element name="generateFromXSL">
<complexType>
<sequence>
<element name="ssaappli" nillable="true" type="xsd:string"/>
<element name="xslText" nillable="true" type="xsd:string"/>
<element name="xmlText" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="generateFromXSLResponse">
<complexType>
<sequence>
<element name="generateFromXSLReturn" type="xsd:base64Binary"/>
</sequence>
</complexType>
</element>
<element name="generateFromXSLurl">
<complexType>
<sequence>
<element name="ssaappli" nillable="true" type="xsd:string"/>
<element name="xslId" nillable="true" type="xsd:string"/>
<element name="xslUrl" nillable="true" type="xsd:string"/>
<element name="xmlText" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="generateFromXSLurlResponse">
<complexType>
<sequence>
<element name="generateFromXSLurlReturn" type="xsd:base64Binary"/>
</sequence>
</complexType>
</element>
<element name="resetAllCaches">
<complexType>
<sequence/>
</complexType>
</element>
<element name="resetAllCachesResponse">
<complexType>
<sequence/>
</complexType>
</element>
<element name="resetAppliCaches">
<complexType>
<sequence>
<element name="appliId" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</element>
</schema>
</wsdl:types>
<wsdl:message name="generateFromXSLIdResponse">
<wsdl:part element="impl:generateFromXSLIdResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="generateFromXSLIdRequest">
<wsdl:part element="impl:generateFromXSLId" name="parameters"/>
</wsdl:message>
<wsdl:message name="resetAppliCachesResponse">
<wsdl:part element="impl:resetAppliCachesResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="generateFromXSLurlResponse">
<wsdl:part element="impl:generateFromXSLurlResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="resetAllCachesRequest">
<wsdl:part element="impl:resetAllCaches" name="parameters"/>
</wsdl:message>
<wsdl:message name="resetAppliCachesRequest">
<wsdl:part element="impl:resetAppliCaches" name="parameters"/>
</wsdl:message>
<wsdl:message name="generateFromXSLRequest">
<wsdl:part element="impl:generateFromXSL" name="parameters"/>
</wsdl:message>
<wsdl:message name="resetAllCachesResponse">
<wsdl:part element="impl:resetAllCachesResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="generateFromXSLResponse">
<wsdl:part element="impl:generateFromXSLResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="generateFromXSLurlRequest">
<wsdl:part element="impl:generateFromXSLurl" name="parameters"/>
</wsdl:message>
<wsdl:portType name="PDFFopRenderer">
<wsdl:operation name="resetAppliCaches">
<wsdl:input message="impl:resetAppliCachesRequest" name="resetAppliCachesRequest"/>
<wsdl:output message="impl:resetAppliCachesResponse" name="resetAppliCachesResponse"/>
</wsdl:operation>
<wsdl:operation name="generateFromXSLId">
<wsdl:input message="impl:generateFromXSLIdRequest" name="generateFromXSLIdRequest"/>
<wsdl:output message="impl:generateFromXSLIdResponse" name="generateFromXSLIdResponse"/>
</wsdl:operation>
<wsdl:operation name="generateFromXSL">
<wsdl:input message="impl:generateFromXSLRequest" name="generateFromXSLRequest"/>
<wsdl:output message="impl:generateFromXSLResponse" name="generateFromXSLResponse"/>
</wsdl:operation>
<wsdl:operation name="generateFromXSLurl">
<wsdl:input message="impl:generateFromXSLurlRequest" name="generateFromXSLurlRequest"/>
<wsdl:output message="impl:generateFromXSLurlResponse" name="generateFromXSLurlResponse"/>
</wsdl:operation>
<wsdl:operation name="resetAllCaches">
<wsdl:input message="impl:resetAllCachesRequest" name="resetAllCachesRequest"/>
<wsdl:output message="impl:resetAllCachesResponse" name="resetAllCachesResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PDFFopRendererSoapBinding" type="impl:PDFFopRenderer">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="resetAppliCaches">
<wsdlsoap:operation soapAction="resetAppliCaches"/>
<wsdl:input name="resetAppliCachesRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="resetAppliCachesResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="generateFromXSLId">
<wsdlsoap:operation soapAction="generateFromXSLId"/>
<wsdl:input name="generateFromXSLIdRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="generateFromXSLIdResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="generateFromXSL">
<wsdlsoap:operation soapAction="generateFromXSL"/>
<wsdl:input name="generateFromXSLRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="generateFromXSLResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="generateFromXSLurl">
<wsdlsoap:operation soapAction="generateFromXSLurl"/>
<wsdl:input name="generateFromXSLurlRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="generateFromXSLurlResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="resetAllCaches">
<wsdlsoap:operation soapAction="resetAllCaches"/>
<wsdl:input name="resetAllCachesRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="resetAllCachesResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="PDFFopRendererService">
<wsdl:port binding="impl:PDFFopRendererSoapBinding" name="PDFFopRenderer">
<wsdlsoap:address location="http://was-intlyon38-01-wty.vitfr.volvo.net:80/P10PDF/web/services/PDFFopRenderer"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

THIS IS THE FIRST TIME I AM WORKING ON SOMETHING FROM WEB SERVICE. PLEASE HELP ME OUT IN THIS.
_________________
BR,
Deepak N
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Oct 07, 2008 3:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

So did you look at the examples?
There is one for web services call.
In which way does your case stray from the example?
What have you done to accommodate for that?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vijay_d
PostPosted: Tue Oct 07, 2008 4:12 am    Post subject: Reply with quote

Apprentice

Joined: 09 Oct 2006
Posts: 26
Location: LONDON

Hi,

Can u change you DECLARE mySoapNS NAMESPACE 'http://schemas.xmlsoap.org/wsdl/soap/';

to http://schemas.xmlsoap.org/soap/envelope/

Let us know if it works..
Back to top
View user's profile Send private message
nthepak
PostPosted: Tue Oct 07, 2008 4:22 am    Post subject: Reply with quote

Voyager

Joined: 19 Dec 2005
Posts: 79
Location: India

Hi Vijay_d
i changed it to http://schemas.xmlsoap.org/soap/envelope/ but now i am getting the following error in the soap fault messagse

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring><![CDATA[org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. Message being parsed: ]]></faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>

i had used http://schemas.xmlsoap.org/wsdl/soap/ earlier bcoz the wsdlsoap in the wsdl file was set to this value
_________________
BR,
Deepak N
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Oct 07, 2008 11:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

wsdl namespace and soap namespace are 2 different things not to be confused... Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
nthepak
PostPosted: Tue Oct 07, 2008 10:24 pm    Post subject: Reply with quote

Voyager

Joined: 19 Dec 2005
Posts: 79
Location: India

Thanks for the info. However, i am still having the problem is calling the Web Service. I have changed my ESQL code as shown below:

-- Copy the Properties folder across
SET OutputRoot.Properties = InputRoot.Properties;

-- Create an HTTP header for the message
SET OutputRoot.HTTPRequestHeader.SOAPAction = 'http://ejb.z27pdf.volvoit.com/generateFromXSLId';
SET OutputLocalEnvironment.Destination.HTTP.RequestURL='http://was-intlyon38-01-wty.vitfr.volvo.net/P10PDF/web/services/PDFFopRenderer';

-- Storing the header part which is used in the sorting process
SET Environment.Variables.WSHeader=InputRoot.XML.DIFFUSION.HEADER;

-- Declare the XML namespaces we will be using
DECLARE mySoapNS NAMESPACE 'http://schemas.xmlsoap.org/soap/envelope/';
DECLARE myNS1 NAMESPACE 'http://ejb.z27pdf.volvoit.com/';
DECLARE myXSI NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';
DECLARE myXSD NAMESPACE 'http://www.w3.org/2001/XMLSchema';

-- Add an XML declaration to the message
SET OutputRoot.XMLNS.(XML.XmlDecl) = '';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XMLNS.(XML.XmlDecl).(XML.Encoding) = 'UTF-8';

-- Create the SOAP Envelope
SET OutputRoot.XMLNS.mySoapNS:Envelope.(XML.NamespaceDecl)xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' ;
SET OutputRoot.XMLNS.mySoapNS:Envelope.(XML.NamespaceDecl)xmlns:xsi = 'http://www.w3.org/2001/XMLSchema-instance' ;
SET OutputRoot.XMLNS.mySoapNS:Envelope.(XML.NamespaceDecl)xmlns:xsd = 'http://www.w3.org/2001/XMLSchema' ;

-- Set the operation name and parameters
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.(XML.NamespaceDecl)xmlns:ns1 = 'http://ejb.z27pdf.volvoit.com/';
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.myNS1:ssaappli = 'P10ODIN';
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.myNS1:xslId = InputRoot.XML.DIFFUSION.HEADER.TYPDIF;
SET OutputRoot.XMLNS.mySoapNS:Envelope.mySoapNS:Body.myNS1:generateFromXSLId.myNS1:xmlText = InputRoot.XML;

Now, I am getting the below SOAP fault message as a Error response from the HTTPRequest node:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring><![CDATA[org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. Message being parsed: ]]></faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Please Help...
_________________
BR,
Deepak N
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Oct 08, 2008 2:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You are building your message wrong.
generateFromXSLId is your action and I think you are setting this one correctly

generateFromXSLIdRequest is the corresponding message name under Body. From your last post you are setting myNS1:generateFromXSLId

Looking at your wsdl I would have to sit in front of my workstation to verify the namespace of the message...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
nthepak
PostPosted: Wed Oct 08, 2008 2:53 am    Post subject: Reply with quote

Voyager

Joined: 19 Dec 2005
Posts: 79
Location: India

Hi,

Thank you for your reply. I tried setting generateFromXSLIdRequest in the message body. i got the below SOAP fault message as the response from the HTTPRequest.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/><soapenv:Body>
<soapenv:Fault><faultcode>soapenv:Client</faultcode>
<faultstring><![CDATA[WSWS3277E: Error: Could not resolve to an operation.
The message contains an element named ""{http://ejb.z27pdf.volvoit.com/}generateFromXSLIdRequest"", but this does not match any operation of the target port.
Debug: name: services/PDFFopRenderer
implClass: class com.volvoit.z27pdf.ejb.PDFFopRendererBean
implClassLoader: com.ibm.ws.classloader.CompoundClassLoader@257ce0
Local ClassPath: /data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/Z27PDF_EJB.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/Z27PDF_WEB.war/WEB-INF/classes:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/Z27PDF_WEB.war:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/jimi-1.0.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/J46lib_pylCacheTest.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/avalon-framework-4.2.0.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/barcode4j-fop-ext.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/barcode4j.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/batik-all-1.6.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/fop-0.94.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/commons-io-1.3.1.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/commons-logging-1.0.4.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/xmlgraphics-commons-1.2.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/framework.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/xalan-2.6.0.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/xml-apis.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/xercesImpl-2.6.0.jar:
/data/was-node/INTLYON38/INTLYON38_01/installedApps/INTLYON38/P10PDF-SIR-WTY_INTLYON38_01.ear/z27apivit-2.0.3.jar

Delegation Mode: PARENT_FIRST
defaultNS: null
endpointURL: null
OperationDesc[0]:
name: resetAppliCaches
returnQName: null
returnType: {http://websphere.ibm.com/webservices/}Void
returnClass: void
elementQName:{http://ejb.z27pdf.volvoit.com}resetAppliCaches
soapAction: resetAppliCaches
style: wrapped
use: literal
numInParams: 1
properties:
KEY(ResponseNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
KEY(ResponseLocalPart)
VALUE(resetAppliCachesResponse)
KEY(buildNum)
VALUE(cf230738.04)
KEY(ServiceQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRendererService)
KEY(portTypeQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRenderer)
KEY(outputName)
VALUE(resetAppliCachesResponse)
KEY(inputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}resetAppliCachesRequest)
KEY(outputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}resetAppliCachesResponse)
KEY(inoutOrderingReq)
VALUE(false)
KEY(inputName)
VALUE(resetAppliCachesRequest)
KEY(targetNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
method:public void com.volvoit.z27pdf.ejb.PDFFopRendererBean.resetAppliCaches(java.lang.String)
ParameterDesc[0]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@1a274f9
name: appliId
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(0)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)


OperationDesc[1]:
name: generateFromXSLId
returnQName: generateFromXSLIdReturn
returnType: {http://www.w3.org/2001/XMLSchema}base64Binary
returnClass: class [B
elementQName:{http://ejb.z27pdf.volvoit.com}generateFromXSLId
soapAction: generateFromXSLId
style: wrapped
use: literal
numInParams: 3
properties:
KEY(ResponseNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
KEY(ResponseLocalPart)
VALUE(generateFromXSLIdResponse)
KEY(buildNum)
VALUE(cf230738.04)
KEY(ServiceQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRendererService)
KEY(portTypeQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRenderer)
KEY(outputName)
VALUE(generateFromXSLIdResponse)
KEY(inputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}generateFromXSLIdRequest)
KEY(outputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}generateFromXSLIdResponse)
KEY(inoutOrderingReq)
VALUE(false)
KEY(inputName)
VALUE(generateFromXSLIdRequest)
KEY(targetNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
method:public byte[] com.volvoit.z27pdf.ejb.PDFFopRendererBean.generateFromXSLId(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
ParameterDesc[0]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@ad9dd0
name: ssaappli
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(0)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[1]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@53debb
name: xslId
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(1)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[2]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@43e7fb
name: xmlText
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(2)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)


OperationDesc[2]:
name: generateFromXSL
returnQName: generateFromXSLReturn
returnType: {http://www.w3.org/2001/XMLSchema}base64Binary
returnClass: class [B
elementQName:{http://ejb.z27pdf.volvoit.com}generateFromXSL
soapAction: generateFromXSL
style: wrapped
use: literal
numInParams: 3
properties:
KEY(ResponseNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
KEY(ResponseLocalPart)
VALUE(generateFromXSLResponse)
KEY(buildNum)
VALUE(cf230738.04)
KEY(ServiceQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRendererService)
KEY(portTypeQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRenderer)
KEY(outputName)
VALUE(generateFromXSLResponse)
KEY(inputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}generateFromXSLRequest)
KEY(outputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}generateFromXSLResponse)
KEY(inoutOrderingReq)
VALUE(false)
KEY(inputName)
VALUE(generateFromXSLRequest)
KEY(targetNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
method:public byte[] com.volvoit.z27pdf.ejb.PDFFopRendererBean.generateFromXSL(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
ParameterDesc[0]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@3331b9
name: ssaappli
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(0)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[1]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@105a655
name: xslText
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(1)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[2]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@1eb4c50
name: xmlText
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(2)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)


OperationDesc[3]:
name: generateFromXSLurl
returnQName: generateFromXSLurlReturn
returnType: {http://www.w3.org/2001/XMLSchema}base64Binary
returnClass: class [B
elementQName:{http://ejb.z27pdf.volvoit.com}generateFromXSLurl
soapAction: generateFromXSLurl
style: wrapped
use: literal
numInParams: 4
properties:
KEY(ResponseNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
KEY(ResponseLocalPart)
VALUE(generateFromXSLurlResponse)
KEY(buildNum)
VALUE(cf230738.04)
KEY(ServiceQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRendererService)
KEY(portTypeQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRenderer)
KEY(outputName)
VALUE(generateFromXSLurlResponse)
KEY(inputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}generateFromXSLurlRequest)
KEY(outputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}generateFromXSLurlResponse)
KEY(inoutOrderingReq)
VALUE(false)
KEY(inputName)
VALUE(generateFromXSLurlRequest)
KEY(targetNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
method:public byte[] com.volvoit.z27pdf.ejb.PDFFopRendererBean.generateFromXSLurl(java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
ParameterDesc[0]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@df529e
name: ssaappli
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(0)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[1]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@1a90ab2
name: xslId
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(1)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[2]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@fd6149
name: xslUrl
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(2)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)

ParameterDesc[3]:
identity: com.ibm.ws.webservices.engine.description.ParameterDesc@fe0542
name: xmlText
mode: IN
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}string
javaType: class java.lang.String
javaSigType:class java.lang.String
inHeader: false
outHeader: false
minOccursIs0:false
maxOccursIs1:true
properties:
KEY(partName)
VALUE(string)
KEY(inputPosition)
VALUE(3)
KEY(partQNameString)
VALUE({http://www.w3.org/2001/XMLSchema}string)


OperationDesc[4]:
name: resetAllCaches
returnQName: null
returnType: {http://websphere.ibm.com/webservices/}Void
returnClass: void
elementQName:{http://ejb.z27pdf.volvoit.com}resetAllCaches
soapAction: resetAllCaches
style: wrapped
use: literal
numInParams: 0
properties:
KEY(ResponseNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
KEY(ResponseLocalPart)
VALUE(resetAllCachesResponse)
KEY(buildNum)
VALUE(cf230738.04)
KEY(ServiceQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRendererService)
KEY(portTypeQName)
VALUE({http://ejb.z27pdf.volvoit.com}PDFFopRenderer)
KEY(outputName)
VALUE(resetAllCachesResponse)
KEY(inputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}resetAllCachesRequest)
KEY(outputMessageQName)
VALUE({http://ejb.z27pdf.volvoit.com}resetAllCachesResponse)
KEY(inputName)
VALUE(resetAllCachesRequest)
KEY(targetNamespace)
VALUE(http://ejb.z27pdf.volvoit.com)
method:public void com.volvoit.z27pdf.ejb.PDFFopRendererBean.resetAllCaches()

]]></faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Note edited for readability
_________________
BR,
Deepak N
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Oct 08, 2008 3:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
The message contains an element named ""{http://ejb.z27pdf.volvoit.com/}generateFromXSLIdRequest"", but this does not match any operation of the target port.


Looks like a namespace error to me.

Did you try giving it a message without the namespace but of type ns:generateFromXSLIdRequest?

Import the wsdl into a new message set project and see the objects generated. Then build the message in accordance to the message tree you generated in the message set.

Creating a map, even if you don't use it helps often understanding the message structure.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem calling a Web Service
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.