Benson thanks for the advise
On Thursday 18 December 2008, Benson Margulies wrote:
> FooServiceService is as per the JAX-WS specification.
Ah ok then.
>
> Have you looked at the XML with logging or a spy? Most likely, the
> client isn't playing along with the parameter names. With the simple
> front end / Aegis, you must tell it to ingest the WSDL to get those
> parameter names. Does soap-py know how to read a WSDL?
>
Nope the spy thing it's a little bit over my head.
Basically in soapy all you have to do is
from SOAPpy import SOAPProxy
bea_service = SOAPProxy("http://localhost/ws/FOOService")
#print bea_service.getBibliography("x1", "x2", 10)
print bea_service.getAvailableTypes()
The getAvailablesTypes since it has no parameters it works!
The getBibliography gives the error I send in the previous mail.
> You would probably be happier using .aegis.xml files to name the
> parameters instead of JAX-WS.
>
Yes I am now :-). Thanks a bunch for the suggestion.
I took me however a lot of time googling for that since the documentation was
not clear cut. What I did was:
*** Howto to change a method's parameter name from arg0 to something
meaningful with aegis.xml ***
<mappings>
<mapping>
<method name="getBibliography">
<parameter index="0" mappedName="name"/>
<parameter index="1" mappedName="type"/>
<parameter index="2" mappedName="max_results"/>
</method>
</mapping>
</mappings>
.bill