Re: It worked with Axis 1.4, but not Axis2

2007-03-26 Thread Paul Fremantle
Oh I thought it was the other way around - that it was an Axis2 server that needed doc/lit and a PHP client that can only do rpc/encoded. The wsf4php supports doc/lit. If you do need to carry on with rpc/encoded then wsf4php won't help at all! Paul On 3/26/07, Davanum Srinivas <[EMAIL PROTECTED

Re: It worked with Axis 1.4, but not Axis2

2007-03-26 Thread Davanum Srinivas
Paul, He needs rpc/encoded :) -- dims On 3/26/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: Tim By the way there is a PHP client based on Axis2/C. Its' here: http://wso2.org/projects/wsf/php Its still alpha level, so if you want to try it let me know and I'll try and help. Paul On 3/26/07,

Re: It worked with Axis 1.4, but not Axis2

2007-03-26 Thread Paul Fremantle
Tim By the way there is a PHP client based on Axis2/C. Its' here: http://wso2.org/projects/wsf/php Its still alpha level, so if you want to try it let me know and I'll try and help. Paul On 3/26/07, Tim Koop <[EMAIL PROTECTED]> wrote: I think my options are: - find a different PHP client (I'l

Re: It worked with Axis 1.4, but not Axis2

2007-03-26 Thread Tim Koop
I think my options are: - find a different PHP client (I'll do this if I have to) - use Axis1 (I don't really want to do this) - try to get Axis2 to create a different WSDL file (I'm hoping this is possible) I would like to use a POJO and get Axis to automatically create the WSDL. Ajith, I th

Re: It worked with Axis 1.4, but not Axis2

2007-03-25 Thread Ajith Ranabahu
Hmm... Well Axis2 does not have the capability to do rpc/encoded so unfortunately that is not an option. However it seems to me that you are seeing three methods because of the three bindings ! (Since we have no idea of how the PHP client works this is just a thought) May be you can try using a m

Re: It worked with Axis 1.4, but not Axis2

2007-03-25 Thread Amila Suriarachchi
hi, your two responses like this http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="http://DefaultNamespace";>Hello http://ws.apache.org/axis2/xsd";>Hello 1. To get the response, I have to use $client->greeting()->return instead of just $client->greeting(). in both cases response messa

Re: It worked with Axis 1.4, but not Axis2

2007-03-23 Thread Tim Koop
Thanks for your analysis, Ajith. To answer your question about the errors I see, I don't exactly see errors; it just looks like it isn't working the way SOAP is supposed to work. I can find these three problems using the PHP client with Axis2. Using it with Axis1 all works normal and good.

Re: It worked with Axis 1.4, but not Axis2

2007-03-23 Thread Ajith Ranabahu
Hi, It seems to me that this may be an issue with the PHP client. Here is what I gather from the information 1. The Axis1 WSDL has a rpc-encoded binding 2. The Axis2 WSDL has doc/lit bindings for both SOAP 1.1 and 1.2 3. The requests and responses (according to their WSDL's) seem to be correct in

Re: It worked with Axis 1.4, but not Axis2

2007-03-23 Thread Tim Koop
OK. Here goes: This is the wsdl from Axis 1: http://localhost:8080/axis/Greeting.jws"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://calebdev.om.org:8080/axis/Greeting.jws"; xmlns:intf="http://calebdev.om.org:8080/axis/Greeting.jws"; xmlns:soapenc="http://schemas.xmls

Re: It worked with Axis 1.4, but not Axis2

2007-03-22 Thread Amila Suriarachchi
Basically you have two senarios PHP Client - Axis1 server PHP Client - Axis2 Server Can you use the tcp mon and tell me the responses you get in each case? Can you send your two wsdls as well? On 3/23/07, Tim Koop <[EMAIL PROTECTED]> wrote: Thanks Sanjiva. Yes, I think we can use the

Re: It worked with Axis 1.4, but not Axis2

2007-03-22 Thread Tim Koop
Thanks Sanjiva. Yes, I think we can use the nightlies for a few weeks. Can you or anyone else tell me how to configure Axis2 to unwrap the response messages? It is something in /WEB-INF/conf/axis2.xml? Thanks a lot! Tim Koop Sanjiva Weerawarana wrote: Tim Koop wrote: Thanks Anne! Acc

Re: It worked with Axis 1.4, but not Axis2

2007-03-22 Thread Sanjiva Weerawarana
Tim Koop wrote: Thanks Anne! According to http://www.apachenews.org/archives/000908.html, unwrapping Web service requests works but "unwrapping of response messages (coming in 1.2)" doesn't work yet. Are my only choices to choose Axis1.4 over Axis2 or to wait for 1.2? This feature is suppo

Re: It worked with Axis 1.4, but not Axis2

2007-03-22 Thread Tim Koop
Thanks Anne! According to http://www.apachenews.org/archives/000908.html, unwrapping Web service requests works but "unwrapping of response messages (coming in 1.2)" doesn't work yet. Are my only choices to choose Axis1.4 over Axis2 or to wait for 1.2? Thanks again to anyone who can shed som

Re: It worked with Axis 1.4, but not Axis2

2007-03-21 Thread Anne Thomas Manes
You're looking for the "unwrapping" option. On 3/21/07, Tim Koop <[EMAIL PROTECTED]> wrote: Thanks Anne and Deepal for your responses, and thanks to everyone else for reading and considering this. I would love to give more details. Here goes: With Axis 1.4, a plain old Java object like this:

Re: It worked with Axis 1.4, but not Axis2

2007-03-21 Thread Tim Koop
Thanks Anne and Deepal for your responses, and thanks to everyone else for reading and considering this. I would love to give more details. Here goes: With Axis 1.4, a plain old Java object like this: public class Greeting { public String greeting() { return "Hello"; } } would produce a

Re: It worked with Axis 1.4, but not Axis2

2007-03-21 Thread Florian Wachs
Deepal Jayasinghe schrieb: Hi Tim; Hi everyone. I've got a little problem. I'll try to explain it the best I can. I got a POJO working with Axis, but it doesn't work quite right with Axis2. I'm serving out a Web Service with Tomcat and Axis2 and my client is PHP. Everything worked find

Re: It worked with Axis 1.4, but not Axis2

2007-03-20 Thread Deepal Jayasinghe
Hi Tim; > Hi everyone. I've got a little problem. I'll try to explain it the > best I can. I got a POJO working with Axis, but it doesn't work quite > right with Axis2. > > I'm serving out a Web Service with Tomcat and Axis2 and my client is > PHP. Everything worked find when I used Axis (1.4)

Re: It worked with Axis 1.4, but not Axis2

2007-03-20 Thread Anne Thomas Manes
Axis2 does not use WSDL 2.0 by default. That is not your problem. Please provide more information and we will try to help you. Anne On 3/20/07, Tim Koop <[EMAIL PROTECTED]> wrote: Hi everyone. I've got a little problem. I'll try to explain it the best I can. I got a POJO working with Axis, b

It worked with Axis 1.4, but not Axis2

2007-03-20 Thread Tim Koop
Hi everyone. I've got a little problem. I'll try to explain it the best I can. I got a POJO working with Axis, but it doesn't work quite right with Axis2. I'm serving out a Web Service with Tomcat and Axis2 and my client is PHP. Everything worked find when I used Axis (1.4), but with Axis2