Hi Team,
This is Naresh and i am having issue in Webservice while using Webservice Datasource through PowerBuilder 12.5. After entering the URL in the Select WSDL File prompt, i am getting the error 'Cannot Access the WSDL or the WSDL file is Invalid'. I have Created the WSDL file using SOAP webservice - JAX WS.
Please find the below WSDL file for your reference. Could you please help me on this?
Thanks
Naresh
--WSDL FILE Content
<?xml version="1.0" encoding="UTF-8"?><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI IBM 2.2.1-11/28/2011 08:28 AM(foreman)-. --><definitions name="SOHCustomerService" targetNamespace="http://service.soh.metlife.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://service.soh.metlife.com/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types>
<xsd:schema>
<xsd:import namespace="http://service.soh.metlife.com/" schemaLocation="SOHCustomerService_schema1.xsd"/>
</xsd:schema>
<xsd:schema>
<xsd:import namespace="http://com/metlife/soh/service/bean/" schemaLocation="SOHCustomerService_schema2.xsd"/>
</xsd:schema>
<xsd:schema>
<xsd:import namespace="http://com/metlife/soh/common/bean/" schemaLocation="SOHCustomerService_schema3.xsd"/>
</xsd:schema>
</types>
<message name="getCustomer">
<part element="tns:getCustomer" name="parameters"/>
</message>
<message name="getCustomerResponse">
<part element="tns:getCustomerResponse" name="parameters"/>
</message>
<message name="upsertCustomer">
<part element="tns:upsertCustomer" name="parameters"/>
</message>
<message name="upsertCustomerResponse">
<part element="tns:upsertCustomerResponse" name="parameters"/>
</message>
<portType name="CustomerServiceDelegate">
<operation name="getCustomer">
<input message="tns:getCustomer" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/getCustomerRequest"/>
<output message="tns:getCustomerResponse" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/getCustomerResponse"/>
</operation>
<operation name="upsertCustomer">
<input message="tns:upsertCustomer" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/upsertCustomerRequest"/>
<output message="tns:upsertCustomerResponse" wsam:Action="http://service.soh.metlife.com/CustomerServiceDelegate/upsertCustomerResponse"/>
</operation>
</portType>
<binding name="SOHCustomerServicePortBinding" type="tns:CustomerServiceDelegate">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getCustomer">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="upsertCustomer">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="SOHCustomerService">
<port binding="tns:SOHCustomerServicePortBinding" name="SOHCustomerServicePort">
<soap:address location="http://10.237.241.52:9081/SOHService/SOHCustomerService"/>
</port>
</service>
</definitions>