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 Christian Kalkhoff <c....@vitrado.de> on 2004/11/19 15:34:49 UTC

axis java client and php 5

Hi,

i want to use the axis soap client to connect to php 5.0.2. soap server.
Unfortunally the server is not in may hand, so i cannot change it to
java.

It seems that php soap library doesn't understand the id href tags in
axis generated messages.

Is there a way to generate a dereferenced message with axis or have i to
switch over to another client language?

Thanks in advance.

Christian
-- 
- Technik -
 
c.kalkhoff@vitrado.de
Tel: +49 (0)89 - 62 44 77 - 56
Fax: +49 (0)89 - 62 44 77 - 39

vitrado GmbH
Grillparzerstrasse 3
81675 München

www.vitrado.de
______________________________________
Geschäftsführer: Thorsten Meier, Martin Plöckl
Amtsgericht München, HRB 13119


Re: axis java client and php 5

Posted by Christian Kalkhoff <c....@vitrado.de>.
Hi Julien,

i dunno if it is called multirefs, it is the id/href construction in the
soap messages. I guess axis builds them on base of object references, so
that data referenced twice is represented only once in the soap message.

I looked in the code of php5 soap part end found the error message i
get. It seems php5 can handle only one child element below <soap:body/>.
It uses that element as function demarcation.

Axis soap messages using id/href contains more child elements below
<soap:body/> which means the parser thinks there are more then one
function calls.

At this point the only thing i could do is to tell axis not to use id
refs, instead it should use tree structure below the operation call, but
i cannot find any pointer anywhere that it is possible.

I already searched the list and the web regarding this issue but
nothing. :(

Thanks for your reply.

Christian

> >
> Do you mean multirefs ?
> Can you provide us some more informations ? (excerpt of WSDL and SOAP 
> message)


-- 
- Technik -
 
c.kalkhoff@vitrado.de
Tel: +49 (0)89 - 62 44 77 - 56
Fax: +49 (0)89 - 62 44 77 - 39

vitrado GmbH
Grillparzerstrasse 3
81675 München

www.vitrado.de
______________________________________
Geschäftsführer: Thorsten Meier, Martin Plöckl
Amtsgericht München, HRB 13119


Re: axis java client and php 5

Posted by WAJSBERG Julien RD-BIZZ <ju...@francetelecom.com>.
Christian Kalkhoff a écrit :

>Hi,
>
>i want to use the axis soap client to connect to php 5.0.2. soap server.
>Unfortunally the server is not in may hand, so i cannot change it to
>java.
>
>It seems that php soap library doesn't understand the id href tags in
>axis generated messages.
>  
>
Do you mean multirefs ?
Can you provide us some more informations ? (excerpt of WSDL and SOAP 
message)

>Is there a way to generate a dereferenced message with axis or have i to
>switch over to another client language?
>  
>
I think I saw this in another message, though I can't remember where...

-- 
Julien