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 babloosony <ba...@gmail.com> on 2005/03/09 06:01:20 UTC

element not working

Hi All,

I am using AXIS 1.2 RC2 on the server side and I want to override in
my server-config.wsdd  the default wsdl file provided by axis with by 
my own wsdl file using <wsdl> element like below :

<service name="SPPriceSession" provider="java:EJB" style="wrapped"
use="literal">
	...
	...
    <wsdlFile>SPPriceSession.wsdl</wsdlFile>
	...
	...
</service>


If I keep the wsdl file in my Web Module's WEB-INF\classes directory
and type in my browser 
http://localhost:9080/IRSCProj04022005Axis12Rc2Web/services/MyWebServiceNameHere?wsdl
then I am not get my  wsdl file. However if I provide the absolute url
in <wsdlFile> element then I can retrieve the wsdl file. Can't I
specify a relative url instead of absolute url since this approach
will be feasible for production style
environments? Please suggest ?


Thanks & Regards,
Kumar.

in my .wsdd - 1.2RC3 overrides specified soapLocation?

Posted by Ellecer Valencia <el...@gmail.com>.
Hi,

I was trying to do some debugging using a customised WSDL and I
noticed the section in the WSDL where the soap endpoint is specified
is now being overriden by axis.

Bug or feature? 

Is there a way to get axis to just return the entire contents of the
WSDL without trying to second guess the user?  And is this anywhere in
the documentation?

(I was trying to view all soap responses through axis tcp monitor, but
soapscope's requests couldn't go through tcp monitor as the WSDL it
returned wasn't displaying the location written in the specified WSDL
file -- if there's a better way of doing this I'd also like to know)


thanks,

Ellecer

Re: element not working

Posted by cui <cu...@gmail.com>.
u can try

...
<wsdlFile>/SPPriceSession.wsdl</wsdlFile>
...

pay attention to the character "/".


On Wed, 9 Mar 2005 10:31:20 +0530, babloosony <ba...@gmail.com> wrote:
> Hi All,
> 
> I am using AXIS 1.2 RC2 on the server side and I want to override in
> my server-config.wsdd  the default wsdl file provided by axis with by
> my own wsdl file using <wsdl> element like below :
> 
> <service name="SPPriceSession" provider="java:EJB" style="wrapped"
> use="literal">
>        ...
>        ...
>    <wsdlFile>SPPriceSession.wsdl</wsdlFile>
>        ...
>        ...
> </service>
> 
> If I keep the wsdl file in my Web Module's WEB-INF\classes directory
> and type in my browser
> http://localhost:9080/IRSCProj04022005Axis12Rc2Web/services/MyWebServiceNameHere?wsdl
> then I am not get my  wsdl file. However if I provide the absolute url
> in <wsdlFile> element then I can retrieve the wsdl file. Can't I
> specify a relative url instead of absolute url since this approach
> will be feasible for production style
> environments? Please suggest ?
> 
> Thanks & Regards,
> Kumar.
> 


-- 
Qworks
http://groups-beta.google.com/group/qworks