Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating web services from wsdl on axis platforms using xmbeans

 
abhijit mohanta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a newbie to web services .I have an existing wsdl.I am using axis platform for creating the web service using xmlbeans.I followed the document in the following link
http://ws.apache.org/axis2/1_2/quickstartguide.html
I created the server side skeliton .ans created the client code.
Also suggest me how to proceed with xmlbeans.

I am getting the following errors in the client code
org.apache.axis2.AxisFault: getslapntwrxinfo.GetSlapNtwrxInfoServiceSkeleton
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at com.test.client.xmlbeans.GetSlapNtwrxInfoServiceStub.OpGetList(GetSlapNtwrxInfoServiceStub.java:156)
at test10client.main(test10client.java:52)

I m a newbie please help .this is the source code of my wsdl

<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl efinitions targetNamespace="urn:slapservice" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:slapservice" xmlns:intf="urn:slapservice" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)

-->
- <wsdl:types>
- <schema targetNamespace="urn:slapservice" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
- <complexType name="GetListOutputMapGetListValues">
<sequence />
</complexType>
- <complexType name="ArrayOfGetListOutputMapGetListValues">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:GetListOutputMapGetListValues[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
- <wsdl:message name="opGetListResponse">
<wsdl art name="opGetListReturn" type="impl:ArrayOfGetListOutputMapGetListValues" />
</wsdl:message>
- <wsdl:message name="opGetListRequest">
<wsdl art name="in0" type="xsd ateTime" />
<wsdl art name="in1" type="xsd ateTime" />
</wsdl:message>
- <wsdl ortType name="GetSlapNtwrxInfoPortType">
- <wsdl peration name="opGetList" parameterOrder="in0 in1">
<wsdl:input message="impl pGetListRequest" name="opGetListRequest" />
<wsdl utput message="impl pGetListResponse" name="opGetListResponse" />
</wsdl peration>
</wsdl ortType>
- <wsdl:binding name="slaptest2SoapBinding" type="impl:GetSlapNtwrxInfoPortType">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl peration name="opGetList">
<wsdlsoap peration soapAction="" />
- <wsdl:input name="opGetListRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://slapTest" use="encoded" />
</wsdl:input>
- <wsdl utput name="opGetListResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:slapservice" use="encoded" />
</wsdl utput>
</wsdl peration>
</wsdl:binding>
- <wsdl:service name="GetSlapNtwrxInfoPortTypeService">
- <wsdl ort binding="impl:slaptest2SoapBinding" name="slaptest2">
<wsdlsoap:address location="http://rem1.dev.qintra.com:8080/axis/services/slaptest2" />
</wsdl ort>
</wsdl:service>
</wsdl efinitions>
 
Shashidhar Yarabati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mr abhijit

Please post your queries in apropriate forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic