[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Web Services question
ive attached part 2.
__________________________________________________________________
From: Scott Mildenberger <SMildenberger@xxxxxxxxxxxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, April 22, 2015 3:54 PM
Subject: RE: Web Services question
It doesn't like the SOAPAction which is part of the request and not
part of the XML.
What does SoapUI have for the SOAPAction? You can find it in the Raw
tab of your request or in the HTTP log. Then what does your procedure
call look like?
Scott
-----Original Message-----
From: [1]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:[2]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Donnie
Barrow
Sent: Wednesday, April 22, 2015 1:42 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Web Services question
I have attached a log that shows there are no difference with SOAPUI
and what I am sending and recorded in the HTTP debug The soapui works
fine
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[3]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
3. http://www.scottklement.com/mailman/listinfo/ftpapi
SOAPUI RAW
POST http://i.i1.com:10040/web/services/CNA_SFDMAXService/CNA_SFDMAX HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Content-Length: 2435
Host: ipdma.ipaper.com:10040
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
FROM THE Console LOG in web admin
[WARNING ] Interceptor for {http://cna_sfdmax.wsbeans.iseries/}CNA_SFDMAX#{http://cna_sfdmax.wsbeans.iseries/}cst111xml_XML has thrown exception, unwinding now
The given SOAPAction http://i.i1.com:10040/web/services/CNA_SFDMAXService/CNA_SFDMAX does not match an operation.
[4/22/15 15:33:58:060 EDT] 00000204 org.apache.cxf.phase.PhaseInterceptorChain W Interceptor for {http://cna_sfdmax.wsbeans.iseries/}CNA_SFDMAX#{http://cna_sfdmax.wsbeans.iseries/}cst111xml_XML has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: The given SOAPAction http://ipdma.ipaper.com:10040/web/services/CNA_SFDMAXService/CNA_SFDMAX does not match an operation.
at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor$SoapActionInAttemptTwoInterceptor.handleMessage(SoapActionInInterceptor.java:188)
at org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor$SoapActionInAttemptTwoInterceptor.handleMessage(SoapActionInInterceptor.java:162)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
at com.ibm.ws.jaxws.endpoint.AbstractJaxWsWebEndpoint.invoke(AbstractJaxWsWebEndpoint.java:138)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.handleRequest(LibertyJaxWsServlet.java:135)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.doPost(LibertyJaxWsServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at com.ibm.ws.jaxws.webcontainer.LibertyJaxWsServlet.service(LibertyJaxWsServlet.java:86)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1274)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:767)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:469)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1060)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:81)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:885)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:266)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:776)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:761)
cAll in program
rc=http_url_post('http://i.i1.com:10040/web/services+
/CNA_SFDMAXService/CNA_SFDMAX'
: %addr(SOAP:*data)
: %len(SOAP)
: soapfile
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml'
:'http://i.i1.com:10040/web/services+
/CNA_SFDMAXService/CNA_SFDMAX');
WSDL
<?xml version="1.0" encoding="UTF-8"?>
-<definitions targetNamespace="http://cna_sfdmax.wsbeans.iseries/" name="CNA_SFDMAX" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cna_sfdmax.wsbeans.iseries/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-<types>
-<xs:schema targetNamespace="http://cna_sfdmax.wsbeans.iseries/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cna_sfdmax.wsbeans.iseries/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="cst111xml" type="tns:cst111xml"/>
<xs:element name="cst111xmlResponse" type="tns:cst111xmlResponse"/>
<xs:element name="cst111xml_XML" type="tns:cst111xml_XML"/>
<xs:element name="cst111xml_XMLResponse" type="tns:cst111xml_XMLResponse"/>
-<xs:complexType name="cst111xml_XML">
-<xs:sequence>
<xs:element name="arg0" type="tns:cst111XMLInput"/>
</xs:sequence>
</xs:complexType>
-<xs:complexType name="cst111XMLInput">
-<xs:sequence>
<xs:element name="XMLREQUEST" type="xs:string"/>
</xs:sequence>
</xs:complexType>
-<xs:complexType name="cst111xml_XMLResponse">
-<xs:sequence>
<xs:element name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
-<xs:complexType name="cst111xml">
-<xs:sequence>
<xs:element name="arg0" type="tns:cst111XMLInput"/>
</xs:sequence>
</xs:complexType>
-<xs:complexType name="cst111xmlResponse">
-<xs:sequence>
<xs:element name="return" type="tns:cst111XMLResult"/>
</xs:sequence>
</xs:complexType>
-<xs:complexType name="cst111XMLResult">
-<xs:sequence>
<xs:element name="XMLRESPONSE" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
-<message name="cst111xml">
<part name="parameters" element="tns:cst111xml"> </part>
</message>
-<message name="cst111xml_XML">
<part name="parameters" element="tns:cst111xml_XML"> </part>
</message>
-<message name="cst111xml_XMLResponse">
<part name="parameters" element="tns:cst111xml_XMLResponse"> </part>
</message>
-<message name="cst111xmlResponse">
<part name="parameters" element="tns:cst111xmlResponse"> </part>
</message>
-<portType name="CNA_SFDMAXServices">
-<operation name="cst111xml">
<input wsam:Action="http://cna_sfdmax.wsbeans.iseries/CNA_SFDMAXServices/cst111xmlRequest" message="tns:cst111xml"> </input>
<output wsam:Action="http://cna_sfdmax.wsbeans.iseries/CNA_SFDMAXServices/cst111xmlResponse" message="tns:cst111xmlResponse"> </output>
</operation>
-<operation name="cst111xml_XML">
<input wsam:Action="http://cna_sfdmax.wsbeans.iseries/CNA_SFDMAXServices/cst111xml_XMLRequest" message="tns:cst111xml_XML"> </input>
<output wsam:Action="http://cna_sfdmax.wsbeans.iseries/CNA_SFDMAXServices/cst111xml_XMLResponse" message="tns:cst111xml_XMLResponse"> </output>
</operation>
</portType>
-<binding name="CNA_SFDMAXServicesPortBinding" type="tns:CNA_SFDMAXServices">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
-<operation name="cst111xml">
<soap:operation soapAction=""/>
-<input>
<soap:body use="literal"/>
</input>
-<output>
<soap:body use="literal"/>
</output>
</operation>
-<operation name="cst111xml_XML">
<soap:operation soapAction=""/>
-<input>
<soap:body use="literal"/>
</input>
-<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
-<service name="CNA_SFDMAX">
-<port name="CNA_SFDMAXServicesPort" binding="tns:CNA_SFDMAXServicesPortBinding">
<soap:address location="http://i.i1.com:10040/web/services/CNA_SFDMAXService/CNA_SFDMAX"/>
</port>
</service>
</definitions>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------