axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Jordahl" <>
Subject RE: Request for information ....
Date Wed, 01 Mar 2006 13:46:41 GMT
You need to map the Axis servlet as defined in your web.xml to the
location you want the endpoints to appear.

In your case "/gns-jaxrpc".  You should also set the wsdlServicePort to
be "gns".


I believe that will give you the endpoint you are looking for.


Tom Jordahl
Adobe Server Development 


From: jagan [] 
Sent: Wednesday, March 01, 2006 1:50 AM
Cc: jagan
Subject: Re: Request for information ....



I am having a WSDL for a service with specified end point say
<> .

I have created server side java files by using axis  class

 java -cp $AXISCLASSPATH org.apache.axis.wsdl.WSDL2Java -p gns -s

The generated java files  have been updated to real implemenation code. 

I have deployed the service into tomcat web container by using
java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient deploy.wsdd

The contents of  deploy.wsdd are as follows

[jagan@dione gns]$ cat deploy.wsdd 
<!-- Use this file to deploy some handlers/chains and services      -->
<!-- Two ways to do this:                                           -->
<!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
<!--      after the axis server is running                          -->
<!-- or                                                             -->
<!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
<!--      from the same directory that the Axis engine runs         -->

<> >

  <!-- Services from MyGns WSDL service -->

  <service name="GnsIFPort" provider="java:RPC" style="rpc"
      <parameter name="wsdlTargetNamespace"
value="http://com.test/wsdl/MyGns" <http://com.test/wsdl/MyGns> />
      <parameter name="wsdlServiceElement" value="MyGns"/>
      <parameter name="wsdlServicePort" value="GnsIFPort"/>
      <parameter name="className" value="gns.GnsIFBindingImpl"/>
      <parameter name="wsdlPortType" value="GnsIF"/>
      <operation name="getFileLocation" qname="operNS:getFileLocation"
xmlns:operNS="http://com.test/wsdl/MyGns" <http://com.test/wsdl/MyGns>
returnQName="result" returnType="rtns:string"
<>  soapAction="" >
        <parameter qname="String_1" type="tns:string"
<> />
        <parameter qname="int_2" type="tns:int"
<> />
      <parameter name="allowedMethods" value="getFileLocation"/>


I found the deployed web service at the following location rather than
the specified endpoind location of
<> .


Hi there, this is an AXIS service!

Perhaps there will be a form for invoking the service here...

Could you mind to suggest about deploying the web service to a specified
endpoint address?

with regards,

Jagan Kommineni 

View raw message