Hi ,

The client Im using is Axis 1.4 in java.  The wsdl defines both SOAPAction
and wsaw:action settings. In the client if I add the line
call.setSOAPActionURI(" operation name") then I am able to hit the service.
Is there a way to avoid making this change??

Anjana 

-----Original Message-----
From: Paul Fremantle [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 10, 2008 12:19 PM
To: axis-user@ws.apache.org
Subject: Re: WSDL location

Anjana

I'm not clear changing the WSDL file is the right solution here, but
you can do it. You save the WSDL, add it into the service archive, and
then set a flag called useOriginalWSDL.

However....

Does the WSDL define SOAPAction or wsa:action settings? And what
client are you using.

Basically the client should automatically pick those actions up from
the WSDL and Axis2 sets actions into the WSDL.
If Axis2 isn't setting actions into the WSDL then its probably easier
to get it to do that:
In the services.xml set
<operation name=doSmt>
       <actionMapping>http://foo.org/myAction</actionMapping>
</operation>

If you want more info about the settings in services.xml (including
useOriginalWSDL) see this article by deepal
http://wso2.org/library/2060

Paul

On Jan 10, 2008 5:11 PM, Kandalam, Anjana <[EMAIL PROTECTED]> wrote:
> So is there no way I can change the wsdl file??....I am unable to hit the
> service because it complains that WSA action is null....I have not
specified
> the SOAP action in my client....Is there a way out???
>
> Anjana 
>
> -----Original Message-----
> From: Paul Fremantle [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 10, 2008 11:57 AM
> To: axis-user@ws.apache.org
> Subject: Re: WSDL location
>
> The WSDL is generated on-demand... it isn't stored. If you want to
> store it you can use a browser (Save As...) or wget to grab it.
>
> Paul
>
> On Jan 10, 2008 4:47 PM, Kandalam, Anjana <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > I have my services in Axis2 and I am using RawXMLINOutMessageReceiver as
> the
> > message receiver class. Axis2 is auto generating the wsdl. Can I know
> where
> > I can find the physical  location of the file on my file system??
>
>
>
> --
> Paul Fremantle
> Co-Founder and VP of Technical Sales, WSO2
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to