You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Emma Johansson <Em...@su.eip.ericsson.se> on 2002/11/22 15:09:02 UTC

Why don't I get the ...SoapBindingSkeleton.java

Hi!

I'm trying to deploy a web service on Tomcat using the instructions on

    http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2

The following command gives me the wsdl file (all on one line)
    java org.apache.axis.wsdl.Java2WSDL -o connectToMur.wsdl
    -lhttp://150.132.6.212:8080/axis/services/connectToMur
    -n urn:connectToMur -p"connectToMur"
    urn:connectToMur connectToMur.ConnectToMur

But the following command (all on one line)
    java org.apache.axis.wsdl.WSDL2Java -o . -d Session
    -s -p connectToMur connectToMur.wsdl
does not generate the SoapBindingSkeleton.java file

I've also tried the command
    java org.apache.axis.wsdl.WSDL2Java --server-side connectToMur.wsdl
with the same result.

Does someone know how to solve this problem?

Regards,
Emma

Re: Why don't I get the ...SoapBindingSkeleton.java

Posted by Emma Johansson <Em...@su.eip.ericsson.se>.
Yes I have this in my wsdl file:

<wsdl:service name="ConnectToMurService">
      <wsdl:port binding="intf:connectToMurSoapBinding"
name="connectToMur">
         <wsdlsoap:address
location="http://150.132.6.212:8080/axis/services/connectToMur"/>
      </wsdl:port>
   </wsdl:service>

/ Emma

Bahman Kalali wrote:

> Does your "connectToMur.wsdl" have a service & port like the following
> example:  <wsdl:service name="AddressService">
>
> <wsdl:port binding="intf:AddressSoapBinding" name="Address">
>
> <wsdlsoap:address
> location="http://localhost:8080/axis/services/Address"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
> <wsdl:service name="AddressServiceService">
>
> <wsdl:port binding="intf:AddressSoapBinding" name="Address">
>
> <wsdlsoap:address
> location="http://localhost:8080/axis/services/Address"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
>
>
> --Bahman
>
>
>
>      ----- Original Message -----
>      From: Emma Johansson
>      To: axis-user@xml.apache.org
>      Sent: Friday, November 22, 2002 9:09 AM
>      Subject: Why don't I get the ...SoapBindingSkeleton.java
>       Hi!
>
>      I'm trying to deploy a web service on Tomcat using the
>      instructions on
>
>
>      http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2
>
>      The following command gives me the wsdl file (all on one
>      line)
>          java org.apache.axis.wsdl.Java2WSDL -o connectToMur.wsdl
>
>          -lhttp://150.132.6.212:8080/axis/services/connectToMur
>          -n urn:connectToMur -p"connectToMur"
>          urn:connectToMur connectToMur.ConnectToMur
>
>      But the following command (all on one line)
>          java org.apache.axis.wsdl.WSDL2Java -o . -d Session
>          -s -p connectToMur connectToMur.wsdl
>      does not generate the SoapBindingSkeleton.java file
>
>      I've also tried the command
>          java org.apache.axis.wsdl.WSDL2Java --server-side
>      connectToMur.wsdl
>      with the same result.
>
>      Does someone know how to solve this problem?
>
>      Regards,
>      Emma
>

Re: Why don't I get the ...SoapBindingSkeleton.java

Posted by Bahman Kalali <bk...@csg.uwaterloo.ca>.
Does your "connectToMur.wsdl" have a service & port like the following example:


<wsdl:service name="AddressService">

<wsdl:port binding="intf:AddressSoapBinding" name="Address">

<wsdlsoap:address location="http://localhost:8080/axis/services/Address"/>

</wsdl:port>

</wsdl:service>

<wsdl:service name="AddressServiceService">

<wsdl:port binding="intf:AddressSoapBinding" name="Address">

<wsdlsoap:address location="http://localhost:8080/axis/services/Address"/>

</wsdl:port>

</wsdl:service>



--Bahman



  ----- Original Message ----- 
  From: Emma Johansson 
  To: axis-user@xml.apache.org 
  Sent: Friday, November 22, 2002 9:09 AM
  Subject: Why don't I get the ...SoapBindingSkeleton.java


  Hi! 
  I'm trying to deploy a web service on Tomcat using the instructions on 
    
      http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2 

  The following command gives me the wsdl file (all on one line) 
      java org.apache.axis.wsdl.Java2WSDL -o connectToMur.wsdl 
      -lhttp://150.132.6.212:8080/axis/services/connectToMur 
      -n urn:connectToMur -p"connectToMur" 
      urn:connectToMur connectToMur.ConnectToMur 

  But the following command (all on one line) 
      java org.apache.axis.wsdl.WSDL2Java -o . -d Session 
      -s -p connectToMur connectToMur.wsdl 
  does not generate the SoapBindingSkeleton.java file 

  I've also tried the command 
      java org.apache.axis.wsdl.WSDL2Java --server-side connectToMur.wsdl 
  with the same result. 

  Does someone know how to solve this problem? 

  Regards, 
  Emma 


Re: Why don't I get the ...SoapBindingSkeleton.java

Posted by Tom Creighton <to...@lptg.com>.
If you want to generate the skeleton, you need to add the -S option with argument true: -S true.  Note the case difference between this and the server-side option -s.

tc
  ----- Original Message ----- 
  From: Emma Johansson 
  To: axis-user@xml.apache.org 
  Sent: Friday, November 22, 2002 7:09 AM
  Subject: Why don't I get the ...SoapBindingSkeleton.java


  Hi! 
  I'm trying to deploy a web service on Tomcat using the instructions on 
    
      http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2 

  The following command gives me the wsdl file (all on one line) 
      java org.apache.axis.wsdl.Java2WSDL -o connectToMur.wsdl 
      -lhttp://150.132.6.212:8080/axis/services/connectToMur 
      -n urn:connectToMur -p"connectToMur" 
      urn:connectToMur connectToMur.ConnectToMur 

  But the following command (all on one line) 
      java org.apache.axis.wsdl.WSDL2Java -o . -d Session 
      -s -p connectToMur connectToMur.wsdl 
  does not generate the SoapBindingSkeleton.java file 

  I've also tried the command 
      java org.apache.axis.wsdl.WSDL2Java --server-side connectToMur.wsdl 
  with the same result. 

  Does someone know how to solve this problem? 

  Regards, 
  Emma