You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by A....@it.lt on 2001/04/21 15:18:33 UTC
SOAP and COM objects
Hi all,
Has anyone tried to work with IBM wstk-2.2 ?
I tried the example COMprovider and it works perfect.
Now I’m trying to deploy another COM, which just gets string as parameter
and returns modified string.
I wrote deployment descriptor:
<!--Apache SOAP specific deployment descriptor (ie loads this service into
Apache SOAP.-->
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:wstk-fake-COM">
<isd:provider type="com.ibm.wstk.providers.COMProvider"
scope="Application"
methods="getString">
<isd:java class="required not needed for COMProvider"/>
<isd:option key="progid" value="{0x800401f3}" />
<isd:option key="threadmodel" value="MULTITHREADED" />
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
Deployment works, but wthen I try to call that method I get error:
Ouch, the call failed:
Fault Code = SOAP-ENV:Server
Fault String = COMProvider: native code exception:[SOAPException:
faultCode=SO
AP-ENV:Server; msg=Failed to convert progid to clsid hr= 0x800401f3]
How should I write the line
<isd:option key="progid" value="{0x800401f3}" />
in deployment descriptor ??
Best regards -
Arturas Sujetovas