Unfortunately, it's hard to help with the WAS implementation, since you cannot just plug in a new build that has more specific messages. Have you used a tool like TcpTunnelGui to capture the SOAP envelope from the call? I am wondering exactly what is being de-serialized when this error occurs.
Scott Nichol ----- Original Message ----- From: "O'Neill, Timothy(LIT)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 6:02 AM Subject: websphere 4.0 SOAPException Please Help! > 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:faultListene > r> > <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 > ____________________________________ > ** [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > **************************************************************************** > ********* > > Disclaimer: The contents of this e-mail and attached files in no way reflect > any policies of Liberty Information Technology Ltd > > **************************************************************************** > ********* > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
