RE: WSDL location
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 http://foo.org/myAction 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 nullI have not specified > the SOAP action in my clientIs 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]
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 http://foo.org/myAction 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 nullI have not specified > the SOAP action in my clientIs there a way out??? > > Anjana Kandalam > Private Client Group - AIG > Work: 908-679-2608 > Cell: 908-596-0424 > > -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]
RE: WSDL location
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 nullI have not specified the SOAP action in my clientIs there a way out??? Anjana Kandalam Private Client Group - AIG Work: 908-679-2608 Cell: 908-596-0424 -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]
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]
WSDL location
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??
Re: WSDL Location Question
d the axis source and nobody on the list could tell me where to find it, so I gave up and just went with the solution above. Cheers, Richard. Todd Orr wrote: > guess not > > On 11/26/05, *Todd Orr* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote: > > I've read up on how to tell Axis to use a specific wsdl instead of > auto-generating them. I still have not found any information on > altering the public wsdl location. So, I moved my wsdls into a > publicly accessible (outside of WEB-INF) directory. Now I can > easily generate client stubs. However, I cannot submit a soap > request to these locations. > > Is there a way to configure the public wsdl location, and the > service's access point? Preferably, they'd be one in the same. The > big part of the problem is that I find the default inadequate. > > Thanks, > T > >
Re: WSDL Location Question
Hi Todd, I'm not sure whether I'm missing something here in exactly what you want to do - you don't mention why you want to have the wsdl files and services outside WEB-INF. Anyway, I have a set up similar to what you describe. The wsdl files are accessible from a regular web page whiich is completely independent of axis (http://mips.gsf.de/projects/biors/biors_ws.html) because the services themselves are deployed on a cluster and the AxisServlet will not return my custom wsdl's, and in particular the service address,as I have written them if I use the ?wsdl or click on the wsdl link in AxisServlet (there's another thread about that, and I've already raised a jira to try to get this rectified). If I point WSDL2Java at these files, it will work fine, as I guess you have found, and I can use these stubs to then access my services within the axis webapp, which works fine for me. I think what you are trying to do (if I underatand it correctly) is probably impossible - to have the wsdl files and the service at the same location outside axis/WEB-INF, as I think the services themselves will always have to be within axis/WEB-INF. I tried to have a look at modifying the AxisServlet code to solve the problem I had, but I needed an external jar file to build the axis source and nobody on the list could tell me where to find it, so I gave up and just went with the solution above. Cheers, Richard. Todd Orr wrote: guess not On 11/26/05, *Todd Orr* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I've read up on how to tell Axis to use a specific wsdl instead of auto-generating them. I still have not found any information on altering the public wsdl location. So, I moved my wsdls into a publicly accessible (outside of WEB-INF) directory. Now I can easily generate client stubs. However, I cannot submit a soap request to these locations. Is there a way to configure the public wsdl location, and the service's access point? Preferably, they'd be one in the same. The big part of the problem is that I find the default inadequate. Thanks, T
Re: WSDL Location Question
guess notOn 11/26/05, Todd Orr <[EMAIL PROTECTED]> wrote: I've read up on how to tell Axis to use a specific wsdl instead of auto-generating them. I still have not found any information on altering the public wsdl location. So, I moved my wsdls into a publicly accessible (outside of WEB-INF) directory. Now I can easily generate client stubs. However, I cannot submit a soap request to these locations. Is there a way to configure the public wsdl location, and the service's access point? Preferably, they'd be one in the same. The big part of the problem is that I find the default inadequate.Thanks, T
WSDL Location Question
I've read up on how to tell Axis to use a specific wsdl instead of auto-generating them. I still have not found any information on altering the public wsdl location. So, I moved my wsdls into a publicly accessible (outside of WEB-INF) directory. Now I can easily generate client stubs. However, I cannot submit a soap request to these locations. Is there a way to configure the public wsdl location, and the service's access point? Preferably, they'd be one in the same. The big part of the problem is that I find the default inadequate.Thanks,T