Hi, I am new in Web Services.
I need to implement a web service to integrate our system to a cloud system.
For this, my web service needs to be an implementation of a interface which is in a .jar file.
I am using JBossWS and eclipse Indigo. For creating the project, I followed the wizards from eclipse and the project is deployed fine, I just noticed that the classes generated are included in the jar, under a folder called jaxws. When I try the address of wsdl, it opens the follow:
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://bss.fujitsu.com/xsd/v1.2" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://bss.fujitsu.com/xsd/v1.1"xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ProvisioningService" targetNamespace="http://bss.fujitsu.com/xsd/v1.1">
<types>
<xs:schema xmlns:ns1="http://bss.fujitsu.com/xsd/v1.1" xmlns:tns="http://bss.fujitsu.com/xsd/v1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://bss.fujitsu.com/xsd/v1.2" version="1.0">
<xs:import namespace="http://bss.fujitsu.com/xsd/v1.1"/>
<xs:element name="activateInstance" type="tns:activateInstance"/>
<xs:element name="activateInstanceResponse" type="tns:activateInstanceResponse"/>
<xs:element name="asyncCreateInstance" type="tns:asyncCreateInstance"/>
<xs:element name="asyncCreateInstanceResponse" type="tns:asyncCreateInstanceResponse"/>
<xs:element name="createInstance" type="tns:createInstance"/>
<xs:element name="createInstanceResponse" type="tns:createInstanceResponse"/>
<xs:element name="createUsers" type="tns:createUsers"/>
<xs:element name="createUsersResponse" type="tns:createUsersResponse"/>
<xs:element name="deactivateInstance" type="tns:deactivateInstance"/>
<xs:element name="deactivateInstanceResponse" type="tns:deactivateInstanceResponse"/>
<xs:element name="deleteInstance" type="tns:deleteInstance"/>
<xs:element name="deleteInstanceResponse" type="tns:deleteInstanceResponse"/>
<xs:element name="deleteUsers" type="tns:deleteUsers"/>
<xs:element name="deleteUsersResponse" type="tns:deleteUsersResponse"/>
<xs:element name="modifyParameterSet" type="tns:modifyParameterSet"/>
<xs:element name="modifyParameterSetResponse" type="tns:modifyParameterSetResponse"/>
<xs:element name="updateUsers" type="tns:updateUsers"/>
<xs:element name="updateUsersResponse" type="tns:updateUsersResponse"/>
<xs:complexType name="createInstance">
<xs:sequence>
<xs:element minOccurs="0" name="request" type="ns1:instanceRequest"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createInstanceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:instanceResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="asyncCreateInstance">
<xs:sequence>
<xs:element minOccurs="0" name="request" type="ns1:instanceRequest"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="asyncCreateInstanceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteInstance">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteInstanceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="modifyParameterSet">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="parameterValues" type="ns1:serviceParameter"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="modifyParameterSetResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createUsers">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="users" type="ns1:user"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createUsersResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:userResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteUsers">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="users" type="ns1:user"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteUsersResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="updateUsers">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="users" type="ns1:user"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="updateUsersResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="activateInstance">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="activateInstanceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deactivateInstance">
<xs:sequence>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deactivateInstanceResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="ns1:baseResult"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema xmlns:ns1="http://bss.fujitsu.com/xsd/v1.2" xmlns:tns="http://bss.fujitsu.com/xsd/v1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://bss.fujitsu.com/xsd/v1.1"version="1.0">
<xs:import namespace="http://bss.fujitsu.com/xsd/v1.2"/>
<xs:element name="activateInstance" nillable="true" type="ns1:activateInstance"/>
<xs:element name="activateInstanceResponse" nillable="true" type="ns1:activateInstanceResponse"/>
<xs:element name="asyncCreateInstance" nillable="true" type="ns1:asyncCreateInstance"/>
<xs:element name="asyncCreateInstanceResponse" nillable="true" type="ns1:asyncCreateInstanceResponse"/>
<xs:element name="createInstance" nillable="true" type="ns1:createInstance"/>
<xs:element name="createInstanceResponse" nillable="true" type="ns1:createInstanceResponse"/>
<xs:element name="createUsers" nillable="true" type="ns1:createUsers"/>
<xs:element name="createUsersResponse" nillable="true" type="ns1:createUsersResponse"/>
<xs:element name="deactivateInstance" nillable="true" type="ns1:deactivateInstance"/>
<xs:element name="deactivateInstanceResponse" nillable="true" type="ns1:deactivateInstanceResponse"/>
<xs:element name="deleteInstance" nillable="true" type="ns1:deleteInstance"/>
<xs:element name="deleteInstanceResponse" nillable="true" type="ns1:deleteInstanceResponse"/>
<xs:element name="deleteUsers" nillable="true" type="ns1:deleteUsers"/>
<xs:element name="deleteUsersResponse" nillable="true" type="ns1:deleteUsersResponse"/>
<xs:element name="echo" type="tns:echo"/>
<xs:element name="echoResponse" type="tns:echoResponse"/>
<xs:element name="modifyParameterSet" nillable="true" type="ns1:modifyParameterSet"/>
<xs:element name="modifyParameterSetResponse" nillable="true" type="ns1:modifyParameterSetResponse"/>
<xs:element name="updateUsers" nillable="true" type="ns1:updateUsers"/>
<xs:element name="updateUsersResponse" nillable="true" type="ns1:updateUsersResponse"/>
<xs:complexType name="echo">
<xs:sequence>
<xs:element form="unqualified" minOccurs="0" name="arg" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="echoResponse">
<xs:sequence>
<xs:element form="unqualified" minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="instanceRequest">
<xs:sequence>
<xs:element minOccurs="0" name="defaultLocale" type="xs:string"/>
<xs:element minOccurs="0" name="loginUrl" type="xs:string"/>
<xs:element minOccurs="0" name="organizationId" type="xs:string"/>
<xs:element minOccurs="0" name="organizationName" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="parameterValue" nillable="true" type="tns:serviceParameter"/>
<xs:element minOccurs="0" name="subscriptionId" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="serviceParameter">
<xs:sequence>
<xs:element minOccurs="0" name="parameterId" type="xs:string"/>
<xs:element minOccurs="0" name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="instanceResult">
<xs:complexContent>
<xs:extension base="tns:baseResult">
<xs:sequence>
<xs:element minOccurs="0" name="instance" type="tns:instanceInfo"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="baseResult">
<xs:sequence>
<xs:element minOccurs="0" name="desc" type="xs:string"/>
<xs:element name="rc" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="instanceInfo">
<xs:sequence>
<xs:element minOccurs="0" name="accessInfo" type="xs:string"/>
<xs:element minOccurs="0" name="baseUrl" type="xs:string"/>
<xs:element minOccurs="0" name="instanceId" type="xs:string"/>
<xs:element minOccurs="0" name="loginPath" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="user">
<xs:sequence>
<xs:element minOccurs="0" name="applicationUserId" type="xs:string"/>
<xs:element minOccurs="0" name="email" type="xs:string"/>
<xs:element minOccurs="0" name="locale" type="xs:string"/>
<xs:element minOccurs="0" name="roleIdentifier" type="xs:string"/>
<xs:element minOccurs="0" name="userId" type="xs:string"/>
<xs:element minOccurs="0" name="userName" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="userResult">
<xs:complexContent>
<xs:extension base="tns:baseResult">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="users" nillable="true" type="tns:user"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
</types>
<message name="ProvisioningService_activateInstance">
<part element="tns:activateInstance" name="activateInstance"/>
</message>
<message name="ProvisioningService_deactivateInstance">
<part element="tns:deactivateInstance" name="deactivateInstance"/>
</message>
<message name="ProvisioningService_echo">
<part element="tns:echo" name="echo"/>
</message>
<message name="ProvisioningService_deleteUsersResponse">
<part element="tns:deleteUsersResponse" name="deleteUsersResponse"/>
</message>
<message name="ProvisioningService_echoResponse">
<part element="tns:echoResponse" name="echoResponse"/>
</message>
<message name="ProvisioningService_createInstance">
<part element="tns:createInstance" name="createInstance"/>
</message>
<message name="ProvisioningService_updateUsers">
<part element="tns:updateUsers" name="updateUsers"/>
</message>
<message name="ProvisioningService_asyncCreateInstanceResponse">
<part element="tns:asyncCreateInstanceResponse" name="asyncCreateInstanceResponse"/>
</message>
<message name="ProvisioningService_deleteInstanceResponse">
<part element="tns:deleteInstanceResponse" name="deleteInstanceResponse"/>
</message>
<message name="ProvisioningService_deleteUsers">
<part element="tns:deleteUsers" name="deleteUsers"/>
</message>
<message name="ProvisioningService_createInstanceResponse">
<part element="tns:createInstanceResponse" name="createInstanceResponse"/>
</message>
<message name="ProvisioningService_modifyParameterSet">
<part element="tns:modifyParameterSet" name="modifyParameterSet"/>
</message>
<message name="ProvisioningService_createUsers">
<part element="tns:createUsers" name="createUsers"/>
</message>
<message name="ProvisioningService_modifyParameterSetResponse">
<part element="tns:modifyParameterSetResponse" name="modifyParameterSetResponse"/>
</message>
<message name="ProvisioningService_activateInstanceResponse">
<part element="tns:activateInstanceResponse" name="activateInstanceResponse"/>
</message>
<message name="ProvisioningService_asyncCreateInstance">
<part element="tns:asyncCreateInstance" name="asyncCreateInstance"/>
</message>
<message name="ProvisioningService_deleteInstance">
<part element="tns:deleteInstance" name="deleteInstance"/>
</message>
<message name="ProvisioningService_updateUsersResponse">
<part element="tns:updateUsersResponse" name="updateUsersResponse"/>
</message>
<message name="ProvisioningService_createUsersResponse">
<part element="tns:createUsersResponse" name="createUsersResponse"/>
</message>
<message name="ProvisioningService_deactivateInstanceResponse">
<part element="tns:deactivateInstanceResponse" name="deactivateInstanceResponse"/>
</message>
<portType name="ProvisioningService">
<operation name="activateInstance" parameterOrder="activateInstance">
<input message="tns:ProvisioningService_activateInstance"/>
<output message="tns:ProvisioningService_activateInstanceResponse"/>
</operation>
<operation name="asyncCreateInstance" parameterOrder="asyncCreateInstance">
<input message="tns:ProvisioningService_asyncCreateInstance"/>
<output message="tns:ProvisioningService_asyncCreateInstanceResponse"/>
</operation>
<operation name="createInstance" parameterOrder="createInstance">
<input message="tns:ProvisioningService_createInstance"/>
<output message="tns:ProvisioningService_createInstanceResponse"/>
</operation>
<operation name="createUsers" parameterOrder="createUsers">
<input message="tns:ProvisioningService_createUsers"/>
<output message="tns:ProvisioningService_createUsersResponse"/>
</operation>
<operation name="deactivateInstance" parameterOrder="deactivateInstance">
<input message="tns:ProvisioningService_deactivateInstance"/>
<output message="tns:ProvisioningService_deactivateInstanceResponse"/>
</operation>
<operation name="deleteInstance" parameterOrder="deleteInstance">
<input message="tns:ProvisioningService_deleteInstance"/>
<output message="tns:ProvisioningService_deleteInstanceResponse"/>
</operation>
<operation name="deleteUsers" parameterOrder="deleteUsers">
<input message="tns:ProvisioningService_deleteUsers"/>
<output message="tns:ProvisioningService_deleteUsersResponse"/>
</operation>
<operation name="echo" parameterOrder="echo">
<input message="tns:ProvisioningService_echo"/>
<output message="tns:ProvisioningService_echoResponse"/>
</operation>
<operation name="modifyParameterSet" parameterOrder="modifyParameterSet">
<input message="tns:ProvisioningService_modifyParameterSet"/>
<output message="tns:ProvisioningService_modifyParameterSetResponse"/>
</operation>
<operation name="updateUsers" parameterOrder="updateUsers">
<input message="tns:ProvisioningService_updateUsers"/>
<output message="tns:ProvisioningService_updateUsersResponse"/>
</operation>
</portType>
<binding name="ProvisioningServiceBinding" type="tns:ProvisioningService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="activateInstance">
<soap:operation soapAction="urn:activateInstance"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="asyncCreateInstance">
<soap:operation soapAction="urn:asyncCreateInstance"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="createInstance">
<soap:operation soapAction="urn:createInstance"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="createUsers">
<soap:operation soapAction="urn:createUsers"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="deactivateInstance">
<soap:operation soapAction="urn:deactivateInstance"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="deleteInstance">
<soap:operation soapAction="urn:deleteInstance"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="deleteUsers">
<soap:operation soapAction="urn:deleteUsers"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="echo">
<soap:operation soapAction="urn:echo"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="modifyParameterSet">
<soap:operation soapAction="urn:modifyParameterSet"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="updateUsers">
<soap:operation soapAction="urn:updateUsers"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="ProvisioningService">
<port binding="tns:ProvisioningServiceBinding" name="ProvisioningServiceImplPort">
</port>
</service>
</definitions>
I think this wsdl is wrong. When I use a simple hello world program (without interface in jar file), it works. That's why I think the problem is the interface in a jar file
When I try to access my service using my client's system, it does not work.
For other services, it works.
But I am new in this tool, so I don't know what's happening.
Any idea??
Thanks!