camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: How to invoke CXF webservice from processor bean
Date Mon, 23 Jul 2012 01:53:30 GMT
Oh,

I'm asking the spring configuration of the ServiceClass which you used 
to set up the cxfEndpoint.
I guess you may specify wrong class, the right should should be an 
Interface with @WebService annotation.

On Sat Jul 21 03:20:29 2012, jeyaseelan78 wrote:
> Hi,
> I hope you are asking for the wsdl, here is my wsdl...
>
> <wsdl:definitions xmlns:ns1="http://schemas.xmlsoap.org/soap/http"
> 	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:tns="http://pas.adapter.service.xyz.abc.XX/"
> 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	name="PasApplicationAdapterServiceService"
> targetNamespace="http://pas.adapter.service.xyz.abc.XX/">
> 	<wsdl:types>
> 		<xs:schema xmlns:tns="http://pas.adapter.service.xyz.abc.XX/"
> 			xmlns:xs="http://www.w3.org/2001/XMLSchema"
> attributeFormDefault="unqualified"
> 			elementFormDefault="unqualified"
> targetNamespace="http://pas.adapter.service.xyz.abc.XX/">
> 			<xs:element name="processClient" type="tns:processClient" />
> 			<xs:element name="processClientResponse" type="tns:processClientResponse"
> />
> 			<xs:element name="processPASLoadStatus" type="tns:processPASLoadStatus"
> />
> 			<xs:element name="processPASLoadStatusResponse"
> type="tns:processPASLoadStatusResponse" />
> 			<xs:complexType name="processClient">
> 				<xs:sequence>
> 					<xs:element minOccurs="0" name="arg0" type="xs:string" />
> 				</xs:sequence>
> 			</xs:complexType>
> 			<xs:complexType name="processClientResponse">
> 				<xs:sequence>
> 					<xs:element minOccurs="0" name="return" type="xs:string" />
> 				</xs:sequence>
> 			</xs:complexType>
> 			<xs:complexType name="processPASLoadStatus">
> 				<xs:sequence>
> 					<xs:element minOccurs="0" name="arg0" type="xs:string" />
> 				</xs:sequence>
> 			</xs:complexType>
> 			<xs:complexType name="processPASLoadStatusResponse">
> 				<xs:sequence />
> 			</xs:complexType>
> 			<xs:element name="Exception" type="tns:Exception" />
> 			<xs:complexType name="Exception">
> 				<xs:sequence>
> 					<xs:element minOccurs="0" name="message" type="xs:string" />
> 				</xs:sequence>
> 			</xs:complexType>
> 		</xs:schema>
> 	</wsdl:types>
> 	<wsdl:message name="processClient">
> 		<wsdl:part element="tns:processClient" name="parameters"></wsdl:part>
> 	</wsdl:message>
> 	<wsdl:message name="processPASLoadStatus">
> 		<wsdl:part element="tns:processPASLoadStatus"
> name="parameters"></wsdl:part>
> 	</wsdl:message>
> 	<wsdl:message name="processClientResponse">
> 		<wsdl:part element="tns:processClientResponse"
> name="parameters"></wsdl:part>
> 	</wsdl:message>
> 	<wsdl:message name="Exception">
> 		<wsdl:part element="tns:Exception" name="Exception"></wsdl:part>
> 	</wsdl:message>
> 	<wsdl:message name="processPASLoadStatusResponse">
> 		<wsdl:part element="tns:processPASLoadStatusResponse"
> name="parameters"></wsdl:part>
> 	</wsdl:message>
> 	<wsdl:portType name="PasApplicationAdapterService">
> 		<wsdl:operation name="processClient">
> 			<wsdl:input message="tns:processClient"
> name="processClient"></wsdl:input>
> 			<wsdl:output message="tns:processClientResponse"
> name="processClientResponse"></wsdl:output>
> 			<wsdl:fault message="tns:Exception" name="Exception"></wsdl:fault>
> 		</wsdl:operation>
> 		<wsdl:operation name="processPASLoadStatus">
> 			<wsdl:input message="tns:processPASLoadStatus"
> name="processPASLoadStatus"></wsdl:input>
> 			<wsdl:output message="tns:processPASLoadStatusResponse"
> 				name="processPASLoadStatusResponse"></wsdl:output>
> 			<wsdl:fault message="tns:Exception" name="Exception"></wsdl:fault>
> 		</wsdl:operation>
> 	</wsdl:portType>
> 	<wsdl:binding name="PasApplicationAdapterServiceServiceSoapBinding"
> 		type="tns:PasApplicationAdapterService">
> 		<soap:binding style="document"
> 			transport="http://schemas.xmlsoap.org/soap/http" />
> 		<wsdl:operation name="processClient">
> 			<soap:operation soapAction="" style="document" />
> 			<wsdl:input name="processClient">
> 				<soap:body use="literal" />
> 			</wsdl:input>
> 			<wsdl:output name="processClientResponse">
> 				<soap:body use="literal" />
> 			</wsdl:output>
> 			<wsdl:fault name="Exception">
> 				<soap:fault name="Exception" use="literal" />
> 			</wsdl:fault>
> 		</wsdl:operation>
> 		<wsdl:operation name="processPASLoadStatus">
> 			<soap:operation soapAction="" style="document" />
> 			<wsdl:input name="processPASLoadStatus">
> 				<soap:body use="literal" />
> 			</wsdl:input>
> 			<wsdl:output name="processPASLoadStatusResponse">
> 				<soap:body use="literal" />
> 			</wsdl:output>
> 			<wsdl:fault name="Exception">
> 				<soap:fault name="Exception" use="literal" />
> 			</wsdl:fault>
> 		</wsdl:operation>
> 	</wsdl:binding>
> 	<wsdl:service name="PasApplicationAdapterServiceService">
> 		<wsdl:port binding="tns:PasApplicationAdapterServiceServiceSoapBinding"
> 			name="PasApplicationAdapterServicePort">
> 			<soap:address
> location="http://localhost:9080/LegacyIntegration/services/pas" />
> 		</wsdl:port>
> 	</wsdl:service>
> </wsdl:definitions>
>
> Thanks a lot.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-invoke-CXF-webservice-from-processor-bean-tp5716272p5716300.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang


Mime
View raw message