File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes creating web services from wsdl(servercode) using apache axis xmlbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "creating web services from wsdl(servercode) using apache axis xmlbeans" Watch "creating web services from wsdl(servercode) using apache axis xmlbeans" New topic

creating web services from wsdl(servercode) using apache axis xmlbeans

abhijit mohanta

Joined: May 10, 2008
Posts: 2
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
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(
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(
at org.apache.axis2.description.OutInAxisOperationClient.send(
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
at org.apache.axis2.client.OperationClient.execute(
at com.test.client.xmlbeans.GetSlapNtwrxInfoServiceStub.OpGetList(
at test10client.main(

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="" xmlns:impl="urn:slapservice" xmlns:intf="urn:slapservice" xmlns:soapenc="" xmlns:wsdl="" xmlns:wsdlsoap="" xmlns:xsd="">
- <!--
WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)

- <wsdl:types>
- <schema targetNamespace="urn:slapservice" xmlns="">
<import namespace="" />
- <complexType name="GetListOutputMapGetListValues">
<sequence />
- <complexType name="ArrayOfGetListOutputMapGetListValues">
- <complexContent>
- <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="impl:GetListOutputMapGetListValues[]" />
- <wsdl:message name="opGetListResponse">
<wsdl art name="opGetListReturn" type="impl:ArrayOfGetListOutputMapGetListValues" />
- <wsdl:message name="opGetListRequest">
<wsdl art name="in0" type="xsd ateTime" />
<wsdl art name="in1" type="xsd ateTime" />
- <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="" />
- <wsdl peration name="opGetList">
<wsdlsoap peration soapAction="" />
- <wsdl:input name="opGetListRequest">
<wsdlsoap:body encodingStyle="" namespace="http://slapTest" use="encoded" />
- <wsdl utput name="opGetListResponse">
<wsdlsoap:body encodingStyle="" namespace="urn:slapservice" use="encoded" />
</wsdl utput>
</wsdl peration>
- <wsdl:service name="GetSlapNtwrxInfoPortTypeService">
- <wsdl ort binding="impl:slaptest2SoapBinding" name="slaptest2">
<wsdlsoap:address location="" />
</wsdl ort>
</wsdl efinitions>
I agree. Here's the link:
subject: creating web services from wsdl(servercode) using apache axis xmlbeans
It's not a secret anymore!