Hi,
        I wanna create html form from WSDL for all the input fields. My WSDL file is
But i'm not able to pick up the contant field value. I'm using wsdl4j for parsing. Can anyone suggest anything on that part as how to get the fixed value of field ebp_service_id.
Thanks,
Nitin Saini
<?xml version="1.0"?>
 <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              name="q22Service"
              targetNamespace="http://www.ebizportals.com/wsdl/"
              xmlns:tns="http://www.ebizportals.com/wsdl/"
              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
 
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://www.ebizportals.com/wsdl/"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.w3.org/2001/XMLSchema" />
 <xsd:element name="soapin">
  <xsd:complexType>
   <xsd:sequence>
  <xsd:element name="ebp_service_id" type="xsd:string" fixed="yahoo_q22"></xsd:element>
  <xsd:element name="s" type="xsd:string"></xsd:element>
   </xsd:sequence>
  </xsd:complexType>
 </xsd:element>
 <xsd:element name="soapout">
  <xsd:complexType>
   <xsd:sequence>
    <xsd:element minOccurs="1" maxOccurs="1" name="response" type="tns:result" />
   </xsd:sequence>
  </xsd:complexType>
 </xsd:element>
<xsd:complexType name="result">
 <xsd:sequence>
  <xsd:element name="transactionid" type="xsd:string"></xsd:element>
  <xsd:element name="statuscode" type="xsd:string"></xsd:element>
  <xsd:element name="statusmesg" type="xsd:string"></xsd:element>
  <xsd:element name="quote_value" type="xsd:string"></xsd:element>
  <xsd:element name="volume" type="xsd:string"></xsd:element>
 </xsd:sequence>
</xsd:complexType>
</xsd:schema>
</types>
 
<message name="q22Request">
  <part name="parameters" element="tns:soapin"/>
</message><message name="q22Response">
  <part name="parameters" element="tns:soapout"/>
</message>
<portType name="q22PortType">
<operation name="processMessage">
<documentation>Edit this file and enter the documentation for this service</documentation>
<input message="tns:q22Request"/>
<output message="tns:q22Response"/>
</operation>
</portType>
<binding name="q22PortType" type="tns:q22PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="processMessage">
<soap:operation soapAction="http://localhost:8080/q22"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding><service name="q22Service">
<documentation>Edit this file and enter the documentation for q22 service</documentation>
<port name="q22PortType" binding="tns:q22PortType">
<soap:address location="http://localhost:8080/ebp/soap/ebizmsgrouter"/>
</port>
</service>
</definitions>
 
 

Reply via email to