Hi All,
 
I have deployed an ear file using websphere and am getting the following SOAPException:
 
[SOAPException: faultCode=SOAP-ENV:Client; msg=Unable to set 'companyCode' property: null.; targetException=java.lang.IllegalArgumentException: Unable to set 'companyCode' property: null.]
        at org.apache.soap.rpc.Call.invoke(Call.java:258)
        at com.libertyit.ast.ASTSessionFacadeWebService.main(ASTSessionFacadeWebService.java:70)
Exception in thread "main"
 
companyCode is an attribute within a Bean that is the return of the called method.
 
I have created 3 wsdl files as described in the Implementing Web Services with IBM Websphere 4.0 tutorial along with a SOAP deployment descriptor heres the descriptor:
 
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:ASTWebService">
        <isd:provider type="com.ibm.soap.providers.WASStatelessEJBProvider" scope="Application" methods="getPolicyDetails">
                <isd:option key="JNDIName" value="com/libertyit/ast/ASTSessionFacade"/>
                <isd:option key="FullHomeInterfaceName" value="com.libertyit.ast.ASTSessionFacadeHome"/>
                <isd:option key="ContextProviderURL" value="iiop://localhost:900"/>
                <isd:option key="FullContextFactoryName" value="com.ibm.websphere.naming.WsnInitialContextFactory"/>
        </isd:provider>
        <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
        <isd:mappings>
                <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                   xmlns:x="urn:ASTWebService" qname="x:Policy"
                   javaType="com.libertyit.ast.entity.Policy"
                   java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
                   xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
        </isd:mappings>
</isd:service>
Hope this is enough info to go on! Let me know if you need anything further.
 
Thanks in advance for your help.
 
Tim 

Tim O'Neill
Experienced Software Developer
Liberty Information Technology
       Clarendon House
       9-21 Adelaide Street
       Belfast
       Northern Ireland
       BT2 8DJ
( +44 (0) 2890 445532
____________________________________
*************************************************************************************

Disclaimer: The contents of this e-mail and attached files in no way reflect any policies of Liberty Information Technology Ltd

*************************************************************************************
 
 

Reply via email to