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 "Salama, Roberto" <ro...@gs.com> on 2003/06/20 23:47:37 UTC

HELP: in wsdl is not the same as tag in wsdd

I'm really struggling with a problem where <wsdl:service name=...> is not
the same as what is being set in the wsdd file. In the wsdd, the service is
defined as:

 <service name="DocumentUpload" provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className"
value="com.gs.res.tigr.webservices.DocumentUploadService"/>
  <beanMapping
languageSpecificType="java:com.gs.res.tigr.webservices.WebServiceStatus"
qname="ns1:WebServiceStatus" xmlns:ns ="urn:BeanService"/>
 </service> 


And In the wsdl xml, its showing up as:

<wsdl:service name="DocumentUploadServiceService"> 
  <wsdl:port binding="impl:DocumentUploadSoapBinding" name="DocumentUpload">

    <wsdlsoap:address
location="http://tigr-dev.ny.rch.gs.com:10041/tigr/services/DocumentUpload"
/> 
  </wsdl:port> 
</wsdl:service>

Can anyone help?
Thanks
rs
--
Disclosures applicable to research with respect to issuers, if any,
mentioned herein are available through your Goldman Sachs representative or
at  http://www.gs.com/research/hedge.html
<http://www.gs.com/research/hedge.html> 





Re: HELP: in wsdl is not the same as tag in wsdd

Posted by Michael Woinoski <mi...@pineneedleconsulting.com>.
Add a parameter to the service element:

  <parameter name="serviceElementName" value="DocumentUpload" />

You can also define parameters for wsdlServicePort and wsdlPortType for the
<port> and <portType> element names.

Cheers,
Mike

> "Salama, Roberto" wrote:
> 
> I'm really struggling with a problem where <wsdl:service name=...> is not the
> same as what is being set in the wsdd file. In the wsdd, the service is
> defined as:
> 
>  <service name="DocumentUpload" provider="java:RPC">
>   <parameter name="allowedMethods" value="*"/>
>   <parameter name="className"
> value="com.gs.res.tigr.webservices.DocumentUploadService"/>
>   <beanMapping
> languageSpecificType="java:com.gs.res.tigr.webservices.WebServiceStatus"
> qname="ns1:WebServiceStatus" xmlns:ns ="urn:BeanService"/>
> 
>  </service>
> 
> And In the wsdl xml, its showing up as:
> 
> <wsdl:service name="DocumentUploadServiceService">
>   <wsdl:port binding="impl:DocumentUploadSoapBinding" name="DocumentUpload">
>     <wsdlsoap:address
> location="http://tigr-dev.ny.rch.gs.com:10041/tigr/services/DocumentUpload" />
> 
>   </wsdl:port>
> </wsdl:service>
> 
> Can anyone help?
> Thanks
> rs
> --
> Disclosures applicable to research with respect to issuers, if any, mentioned
> herein are available through your Goldman Sachs representative or at
> http://www.gs.com/research/hedge.html

-- 

Mike Woinoski                      Pine Needle Consulting
mailto:michaelw@pineneedleconsulting.com