Jump to content

Creation Server Side Java From Other Wsdl


Guest Andy1
 Share

Recommended Posts

Guest Andy1

Hello All.I want to create wsdl service for interface other server.In a good, I found a wsdl file which interface with the server.so I tried to create server side java files (NOT Client) for interface from the wsdl file. but I don't know what is data type and methodAfter I created some java file using tool,i convert to wsdl from the java file, It is different with original wsdl fileplease help me~The wsdl is as below.<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions targetNamespace="urn:DIG_WS_DoodreamIF" xmlns:ns0="http://tempuri.org" xmlns:s0="urn:DIG_WS_DoodreamIF" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:types> <xsd:schema elementFormDefault="qualified" targetNamespace="urn:DIG_WS_DoodreamIF"> <xsd:import namespace="http://tempuri.org"/> <xsd:element name="Create_ApprovalResult" type="ns0:T_APRSTAT"/> <xsd:element name="Create_ApprovalResultResponse" type="ns0:T_RESULT"/> <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/> <xsd:complexType name="AuthenticationInfo"> <xsd:sequence> <xsd:element name="userName" type="xsd:string"/> <xsd:element name="password" type="xsd:string"/> <xsd:element minOccurs="0" name="authentication" type="xsd:string"/> <xsd:element minOccurs="0" name="locale" type="xsd:string"/> <xsd:element minOccurs="0" name="timeZone" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org" xmlns="http://tempuri.org" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="T_APRSTAT"> <xs:sequence> <xs:element name="DOCID" nillable="true" type="xsd:string"/> <xs:element name="KEYCODE" nillable="true" type="xsd:string"/> <xs:element name="UNIQUEID" nillable="true" type="xsd:string"/> <xs:element name="APRDOCSTATE" nillable="true" type="xsd:string"/> <xs:element name="APRDOCSTATEMESSAGE" nillable="true" type="xsd:string"/> <xs:element name="ENDDOCURLPATH" nillable="true" type="xsd:string"/> <xs:element name="T_APRLINEItem"> <xs:complexType> <xs:sequence> <xs:element name="DOCID" nillable="true" type="xsd:string"/> <xs:element name="USERID" nillable="true" type="xsd:string"/> <xs:element name="USERNAME" nillable="true" type="xsd:string"/> <xs:element name="JOBTITLE" nillable="true" type="xsd:string"/> <xs:element name="PROCESSDATE" nillable="true" type="xsd:string"/> <xs:element name="APRSTATUS" nillable="true" type="xsd:string"/> <xs:element name="AGENTUSERID" nillable="true" type="xsd:string"/> <xs:element name="AGENTUSERNAME" nillable="true" type="xsd:string"/> <xs:element name="AGENTJOBTITLE" nillable="true" type="xsd:string"/> <xs:element name="APROPINION" nillable="true" type="xsd:string"/> <xs:element name="APRTYPE" nillable="true" type="xsd:string"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="T_RESULT"> <xs:sequence> <xs:element name="KEYCODE" nillable="true" type="xsd:string"/> <xs:element name="DOCID" nillable="true" type="xsd:string"/> <xs:element name="UNIQUEID" nillable="true" type="xsd:string"/> <xs:element name="RESULTCODE" nillable="true" type="xsd:string"/> <xs:element name="RESULTMESSAGE" nillable="true" type="xsd:string"/> </xs:sequence> </xs:complexType> </xs:schema> </wsdl:types> <wsdl:message name="ARAuthenticate"> <wsdl:part element="s0:AuthenticationInfo" name="parameters"/> </wsdl:message> <wsdl:message name="Create_ApprovalResultSoapOut"> <wsdl:part element="s0:Create_ApprovalResultResponse" name="parameters"/> </wsdl:message> <wsdl:message name="Create_ApprovalResultSoapIn"> <wsdl:part element="s0:Create_ApprovalResult" name="parameters"/> </wsdl:message> <wsdl:portType name="DIG_WS_DoodreamIFPortType"> <wsdl:operation name="Create_ApprovalResult"> <wsdl:input message="s0:Create_ApprovalResultSoapIn"/> <wsdl:output message="s0:Create_ApprovalResultSoapOut"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="DIG_WS_DoodreamIFSoapBinding" type="s0:DIG_WS_DoodreamIFPortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="Create_ApprovalResult"> <soap:operation soapAction="urn:DIG_WS_DoodreamIF/Create_ApprovalResult" style="document"/> <wsdl:input> <soap:header message="s0:ARAuthenticate" part="parameters" use="literal"> </soap:header> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="DIG_WS_DoodreamIFService"> <wsdl:documentation>Approval Result Return </wsdl:documentation> <wsdl:port binding="s0:DIG_WS_DoodreamIFSoapBinding" name="DIG_WS_DoodreamIFSoap"> <soap:address location="http://WEBURL"/> </wsdl:port> </wsdl:service></wsdl:definitions>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...