You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by John-M Baker <jo...@db.com> on 2008/03/04 17:25:19 UTC

Stub generation and WSDLs

Hello,

Why does the stubs generated contain both a URL to the service:

 public final static QName SERVICE = new 
QName("http://service.ws.websso.db.com", "Query");
 public final static QName QuerySOAP11PortHttps = new 
QName("http://service.ws.websso.db.com", "QuerySOAP11port_https");
 
But also requires the WSDL (passed in the constructor)? Surely the WSDL 
has been used to generate the stubs, and once it has the service URL, the 
WSDL is now unrequired? 


John Baker
-- 
Web SSO 
IT Infrastructure 
Deutsche Bank London

URL:  http://websso.cto.gt.intranet.db.com


---

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures.

Re: Stub generation and WSDLs

Posted by jim ma <ma...@gmail.com>.
Hi,

The wsdl is required because not all the informations are generated in the
stub code .
For example, you can not find the port address information in stub code.

Regards
Jim Ma

On Wed, Mar 5, 2008 at 12:25 AM, John-M Baker <jo...@db.com> wrote:

> Hello,
>
> Why does the stubs generated contain both a URL to the service:
>
>  public final static QName SERVICE = new
> QName("http://service.ws.websso.db.com", "Query");
>  public final static QName QuerySOAP11PortHttps = new
> QName("http://service.ws.websso.db.com", "QuerySOAP11port_https");
>
> But also requires the WSDL (passed in the constructor)? Surely the WSDL
> has been used to generate the stubs, and once it has the service URL, the
> WSDL is now unrequired?
>
>
> John Baker
> --
> Web SSO
> IT Infrastructure
> Deutsche Bank London
>
> URL:  http://websso.cto.gt.intranet.db.com
>
>
> ---
>
> This e-mail may contain confidential and/or privileged information. If you
> are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and delete this e-mail. Any
> unauthorized copying, disclosure or distribution of the material in this
> e-mail is strictly forbidden.
>
> Please refer to http://www.db.com/en/content/eu_disclosures.htm for
> additional EU corporate and regulatory disclosures.