Hi there, I posted a similar message last week, but I did not
get any feedback. That’s why I’ traing again… I appended my WSDL to this email. Below you can find
the entry within the server-config.wsdd for my service: <service name="ConService" provider="java:RPC"> <parameter
name="allowedMethods" value="*" /> <parameter
name="className" value="com.xcell.ConService" /> <beanMapping
qname="ns:Con" xmlns:ns="someService" languageSpecificType="java:com.xcell.Con"
/> <typeMapping
qname="ns:ArrayOfCon" xmlns:ns="someService" type="java:com.xcell.Con[]" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/> </service> Now I have following questions: 1)
Is there anything wrong concerning my approach
in the WSDD? 2)
Is it a problem to have a element named ‘con’
in a complex type named ‘Con’? 3)
Why does my WDSL display the URL ‘http://xcell.com’
in following line of the WSDL?Configuration problems… <wsdlsoap:body
use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://xcell.com"/> 4)
Is it allowed to have overloaded operations for
a web service as one of my service’s method is overloaded! 5)
Why do I get following error message in BEA
Workshop 8.1 when trying to create a Service Control based on the appended WSDL WARNING: sampleWSDL.wsdl Line 0, WARNING: sampleWSDL.wsdl Line 0, WARNING: sampleWSDL.wsdl Line 0, WARNING: sampleWSDL.wsdl Line 0, WARNING: sampleWSDL.wsdl Line 0, WARNING: sampleWSDL.wsdl Line 53, WARNING: sampleWSDL.wsdl Line 59, WARNING: sampleWSDL.wsdl Line 99, WARNING: sampleWSDL.wsdl Line 105, WARNING: sampleWSDL.wsdl Line 111, WARNING: sampleWSDL.wsdl Line 125, WARNING: sampleWSDL.wsdl Line 139, WARNING: sampleWSDL.wsdl Line 145, Can anyone out there help me please? Thanks Florian |
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="XXXrealEndpointURLXXX" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns1="someService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:intf="XXXrealEndpointURLXXX" xmlns:impl="XXXrealEndpointURLXXX"> <!--WSDL created by Apache Axis version: 1.2beta3 Built on Aug 04, 2004 (12:01:55 PDT)--> <types> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="XXXrealEndpointURLXXX"> <import namespace="someService"/> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOf_soapenc_string"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="soapenc:string[]"/> </restriction> </complexContent> </complexType> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="someService"> <import namespace="XXXrealEndpointURLXXX"/> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="Con"> <sequence> <element name="abbreviation" nillable="true" type="soapenc:string"/> <element name="city" nillable="true" type="soapenc:string"/> <element name="con" nillable="true" type="soapenc:string"/> <element name="country" nillable="true" type="soapenc:string"/> <element name="dateFrom" nillable="true" type="soapenc:string"/> <element name="dateTo" nillable="true" type="soapenc:string"/> <element name="ownEvent" nillable="true" type="soapenc:string"/> <element name="products" nillable="true" type="impl:ArrayOf_soapenc_string"/> <element name="areas" nillable="true" type="impl:ArrayOf_soapenc_string"/> <element name="venue" nillable="true" type="soapenc:string"/> <element name="website" nillable="true" type="soapenc:string"/> </sequence> </complexType> <complexType name="ArrayOfCon"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:Con[]"/> </restriction> </complexContent> </complexType> </schema> </types>
<wsdl:message name="getConInfoRequest2"> <wsdl:part name="in0" type="xsd:int"/> </wsdl:message> <wsdl:message name="getConInfoResponse2"> <wsdl:part name="getConInfoReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoByProductResponse"> <wsdl:part name="getConInfoByProductReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoRequest3"> <wsdl:part name="in0" type="soapenc:string"/> <wsdl:part name="in1" type="soapenc:string"/> </wsdl:message> <wsdl:message name="getConInfoByAreaRequest"> <wsdl:part name="in0" type="soapenc:string"/> </wsdl:message> <wsdl:message name="getConInfoRequest"> <wsdl:part name="in0" type="xsd:int"/> <wsdl:part name="in1" type="soapenc:string"/> <wsdl:part name="in2" type="soapenc:string"/> </wsdl:message> <wsdl:message name="getConInfoByProductRequest"> <wsdl:part name="in0" type="soapenc:string"/> </wsdl:message> <wsdl:message name="getConInfoRequest1"> </wsdl:message> <wsdl:message name="getConInfoResponse1"> <wsdl:part name="getConInfoReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoByAreaResponse"> <wsdl:part name="getConInfoByAreaReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoByYearAndProductResponse"> <wsdl:part name="getConInfoByYearAndProductReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoByYearAndAreaRequest"> <wsdl:part name="in0" type="xsd:int"/> <wsdl:part name="in1" type="soapenc:string"/> </wsdl:message> <wsdl:message name="getConInfoResponse"> <wsdl:part name="getConInfoReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoByYearAndProductRequest"> <wsdl:part name="in0" type="xsd:int"/> <wsdl:part name="in1" type="soapenc:string"/> </wsdl:message> <wsdl:message name="getConInfoByYearAndAreaResponse"> <wsdl:part name="getConInfoByYearAndAreaReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:message name="getConInfoResponse3"> <wsdl:part name="getConInfoReturn" type="tns1:ArrayOfCon"/> </wsdl:message> <wsdl:portType name="ConService"> <wsdl:operation name="getConInfo" parameterOrder="in0 in1 in2"> <wsdl:input name="getConInfoRequest" message="impl:getConInfoRequest"/> <wsdl:output name="getConInfoResponse" message="impl:getConInfoResponse"/> </wsdl:operation> <wsdl:operation name="getConInfo"> <wsdl:input name="getConInfoRequest1" message="impl:getConInfoRequest1"/> <wsdl:output name="getConInfoResponse1" message="impl:getConInfoResponse1"/> </wsdl:operation> <wsdl:operation name="getConInfo" parameterOrder="in0"> <wsdl:input name="getConInfoRequest2" message="impl:getConInfoRequest2"/> <wsdl:output name="getConInfoResponse2" message="impl:getConInfoResponse2"/> </wsdl:operation> <wsdl:operation name="getConInfo" parameterOrder="in0 in1"> <wsdl:input name="getConInfoRequest3" message="impl:getConInfoRequest3"/> <wsdl:output name="getConInfoResponse3" message="impl:getConInfoResponse3"/> </wsdl:operation> <wsdl:operation name="getConInfoByYearAndProduct" parameterOrder="in0 in1"> <wsdl:input name="getConInfoByYearAndProductRequest" message="impl:getConInfoByYearAndProductRequest"/> <wsdl:output name="getConInfoByYearAndProductResponse" message="impl:getConInfoByYearAndProductResponse"/> </wsdl:operation> <wsdl:operation name="getConInfoByYearAndArea" parameterOrder="in0 in1"> <wsdl:input name="getConInfoByYearAndAreaRequest" message="impl:getConInfoByYearAndAreaRequest"/> <wsdl:output name="getConInfoByYearAndAreaResponse" message="impl:getConInfoByYearAndAreaResponse"/> </wsdl:operation> <wsdl:operation name="getConInfoByArea" parameterOrder="in0"> <wsdl:input name="getConInfoByAreaRequest" message="impl:getConInfoByAreaRequest"/> <wsdl:output name="getConInfoByAreaResponse" message="impl:getConInfoByAreaResponse"/> </wsdl:operation> <wsdl:operation name="getConInfoByProduct" parameterOrder="in0"> <wsdl:input name="getConInfoByProductRequest" message="impl:getConInfoByProductRequest"/> <wsdl:output name="getConInfoByProductResponse" message="impl:getConInfoByProductResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="ConServiceSoapBinding" type="impl:ConService"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getConInfo"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoRequest"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoResponse"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfo"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoRequest1"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoResponse1"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfo"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoRequest2"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoResponse2"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfo"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoRequest3"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoResponse3"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfoByYearAndProduct"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoByYearAndProductRequest"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoByYearAndProductResponse"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfoByYearAndArea"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoByYearAndAreaRequest"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoByYearAndAreaResponse"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfoByArea"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoByAreaRequest"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoByAreaResponse"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="getConInfoByProduct"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="getConInfoByProductRequest"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://xcell.com"/> </wsdl:input> <wsdl:output name="getConInfoByProductResponse"> <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="XXXrealEndpointURLXXX"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="ConServiceService"> <wsdl:port name="ConService" binding="impl:ConServiceSoapBinding"> <wsdlsoap:address location="XXXrealEndpointURLXXX"/> </wsdl:port> </wsdl:service> </wsdl:definitions>