Hello!
I have created a Webservice and my JBoss is 4.0.2 .
My problem is I cannot send an array of complex type as parameter from client.
Another method which returns the array is working fine. I am including
mapping.xml and the wsdl file. Another thing, I could not send or receive any
complex type if the MEP is document/literal, right now I am working with
rpc/literal. I am using wscompile.
the WSDL is as follows:
http://endpoint.webservice.ses.betxtech.co.uk/";
xmlns:tns="http://endpoint.webservice.ses.betxtech.co.uk/";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:ns2="http://endpoint.webservice.ses.betxtech.co.uk/types/arrays/uk/co/betxtech/ses/businessobjects/respcomps";
xmlns:ns3="http://endpoint.webservice.ses.betxtech.co.uk/types";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
http://endpoint.webservice.ses.betxtech.co.uk/types/arrays/uk/co/betxtech/ses/businessobjects/respcomps";
xmlns:tns="http://endpoint.webservice.ses.betxtech.co.uk/types/arrays/uk/co/betxtech/ses/businessobjects/respcomps";
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:ns2="http://endpoint.webservice.ses.betxtech.co.uk/types";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns="http://www.w3.org/2001/XMLSchema";>
http://endpoint.webservice.ses.betxtech.co.uk/types";
xmlns:tns="http://endpoint.webservice.ses.betxtech.co.uk/types";
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns="http://www.w3.org/2001/XMLSchema";>
http://schemas.xmlsoap.org/soap/http"; style="rpc"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
http://endpoint.webservice.ses.betxtech.co.uk/"/>
And the mapping.xml is as follows:-
http://java.sun.com/xml/ns/j2ee"; version="1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";>
uk.co.betxtech.ses.webservice.endpoint
http://endpoint.webservice.ses.betxtech.co.uk/types
uk.co.betxtech.ses.webservice.endpoint
http://endpoint.webservice.ses.betxtech.co.uk/
uk.co.betxtech.ses.webservice.endpoint._arrays.uk.co.betxtech.ses.businessobjects.respcomps
http://endpoint.webservice.ses.betxtech.co.uk/types/arrays/uk/co/betxtech/ses/businessobjects/respcomps
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_getTestType_RequestStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:getTestType
complexType
String_1
String_1
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_getTestType_ResponseStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:getTestTypeResponse
complexType
result
result
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_getTestTypeName_RequestStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:getTestTypeName
complexType
TestType_1
TestType_1
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_setTestTypeArray_ResponseStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:setTestTypeArrayResponse
complexType
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_getTestTypeArray_RequestStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:getTestTypeArray
complexType
uk.co.betxtech.ses.businessobjects.respcomps.NestedType
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:NestedType
complexType
nestName
nestName
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_getTestTypeName_ResponseStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:getTestTypeNameResponse
complexType
result
result
uk.co.betxtech.ses.webservice.endpoint.BetXTechService_getTestTypeArray_ResponseStruct
http://endpoint.webservice.ses.betxtech.co.uk/types";>typeNS:getTestTypeArrayResponse
complexType
result
result
uk.co.betxtech.ses.businessobjects.respcomps.TestType[]
http://endpoint.webservice.ses.betxtech.co.uk/types/arrays/uk/co/betxtech/ses/businessobjects/respcomps";>typeNS:TestTypeArray
complexType
uk.co.betxtech.ses.businessobjects.respc