Skip to Content
Former Member
May 30, 2005 at 07:38 PM

WebService Portal Problem


I want to access a WebService from a Portal component. Easy I thought, just clicking through the wizard and voila. But it didn't work out that way. The generated type classes do not represent the wsdl structure correctly (response/request in wsdl defined with xsd). For example a sequence of strings happens to be just a plain string in the generated types structure.

The connection worked (axis TCPView did show me the correct soap request/response), but IPRTSOAPCall.invokeMethod returned null.

The generation process for the same wsdl worked out well with a DeployableProxy and a servlet. No problem with that.

1. How do I enable the soap.log file some docs talk about and where may I find it?

2. Can I access the DeployableProxy from a Portal component/service? Is the Portal JNDI different from the J2EE JNDI?

I can still switch to axis, but hope the portal is powerful enough to let me use its WS connectivity options.