christian.bryan
New Member
Hi
I am trying to develop an application that uses a WSDL to post to an online web service.
Im using the bprowsdldoc to try and analyse the WSDL to produce the 4GL code to use im my application however I seem to be getting errors in the WSDL.
Im pretty new to all this so I may be missing an important step or something like that!
The WSDL is provided by the UK government to access one of their online systems and people have used other lauguages and systems to connect to the service (as far as im aware) but I have seen posts where other developers have had similar trouble with this in other languages but not sure how they have resolved their issues
Any help on this would be gratefully received!!
This is the error produced when I try and use the bprowsdldoc on the WSDL file
OpenEdge Release 10.1C01 as of Sat Jun 7 16:06:03 EDT 2008
proenv>bprowsdldoc c:\bulkclaim.wsdl
Error loading WSDL document c:/bulkclaim.wsdl : Cannot resolve type: 3:Element
{http://xml.apache.org/xml-soap} for element rentalRequest{http://impl.service.b
ulkclaim.webservice.pcol.dca.gov.uk} (11748)
and this is the WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:intf="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:tns1="http://impl.service.bulkclaim.webservice.pcol.dca.gov.uk" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2
Built on May 03, 2005 (02:20:24 EDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://impl.service.bulkclaim.webservice.pcol.dca.gov.uk" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<element name="mortgageRequest" type="apachesoap:Element"/>
<element name="rentalRequest" type="apachesoap:Element"/>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<element name="processMortgageClaimReturn" type="apachesoap:Element"/>
<element name="processRentalClaimReturn" type="apachesoap:Element"/>
</schema>
</wsdl:types>
<wsdl:message name="processRentalClaimResponse">
<wsdlart element="implrocessRentalClaimReturn" name="processRentalClaimReturn"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimRequest">
<wsdlart element="tns1:mortgageRequest" name="mortgageRequest"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimResponse">
<wsdlart element="implrocessMortgageClaimReturn" name="processMortgageClaimReturn"/>
</wsdl:message>
<wsdl:message name="processRentalClaimRequest">
<wsdlart element="tns1:rentalRequest" name="rentalRequest"/>
</wsdl:message>
<wsdlortType name="BulkClaimServiceImpl">
<wsdlperation name="processMortgageClaim" parameterOrder="mortgageRequest">
<wsdl:input message="implrocessMortgageClaimRequest" name="processMortgageClaimRequest"/>
<wsdlutput message="implrocessMortgageClaimResponse" name="processMortgageClaimResponse"/>
</wsdlperation>
<wsdlperation name="processRentalClaim" parameterOrder="rentalRequest">
<wsdl:input message="implrocessRentalClaimRequest" name="processRentalClaimRequest"/>
<wsdlutput message="implrocessRentalClaimResponse" name="processRentalClaimResponse"/>
</wsdlperation>
</wsdlortType>
<wsdl:binding name="BulkClaimSoapBinding" type="impl:BulkClaimServiceImpl">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdlperation name="processMortgageClaim">
<wsdlsoapperation soapAction=""/>
<wsdl:input name="processMortgageClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlutput name="processMortgageClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdlutput>
</wsdlperation>
<wsdlperation name="processRentalClaim">
<wsdlsoapperation soapAction=""/>
<wsdl:input name="processRentalClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlutput name="processRentalClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdlutput>
</wsdlperation>
</wsdl:binding>
<wsdl:service name="BulkClaimServiceImplService">
<wsdlort binding="impl:BulkClaimSoapBinding" name="BulkClaim">
<wsdlsoap:address location="http://vtpcol03:8888/pcol/services/BulkClaim"/>
</wsdlort>
</wsdl:service>
</wsdl:definitions>
I am trying to develop an application that uses a WSDL to post to an online web service.
Im using the bprowsdldoc to try and analyse the WSDL to produce the 4GL code to use im my application however I seem to be getting errors in the WSDL.
Im pretty new to all this so I may be missing an important step or something like that!
The WSDL is provided by the UK government to access one of their online systems and people have used other lauguages and systems to connect to the service (as far as im aware) but I have seen posts where other developers have had similar trouble with this in other languages but not sure how they have resolved their issues
Any help on this would be gratefully received!!
This is the error produced when I try and use the bprowsdldoc on the WSDL file
OpenEdge Release 10.1C01 as of Sat Jun 7 16:06:03 EDT 2008
proenv>bprowsdldoc c:\bulkclaim.wsdl
Error loading WSDL document c:/bulkclaim.wsdl : Cannot resolve type: 3:Element
{http://xml.apache.org/xml-soap} for element rentalRequest{http://impl.service.b
ulkclaim.webservice.pcol.dca.gov.uk} (11748)
and this is the WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:intf="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns:tns1="http://impl.service.bulkclaim.webservice.pcol.dca.gov.uk" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.2
Built on May 03, 2005 (02:20:24 EDT)-->
<wsdl:types>
<schema elementFormDefault="qualified" targetNamespace="http://impl.service.bulkclaim.webservice.pcol.dca.gov.uk" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<element name="mortgageRequest" type="apachesoap:Element"/>
<element name="rentalRequest" type="apachesoap:Element"/>
</schema>
<schema elementFormDefault="qualified" targetNamespace="http://uk.gov.dca.pcol.webservice.bulkclaim.service/BulkClaim" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.apache.org/xml-soap"/>
<element name="processMortgageClaimReturn" type="apachesoap:Element"/>
<element name="processRentalClaimReturn" type="apachesoap:Element"/>
</schema>
</wsdl:types>
<wsdl:message name="processRentalClaimResponse">
<wsdlart element="implrocessRentalClaimReturn" name="processRentalClaimReturn"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimRequest">
<wsdlart element="tns1:mortgageRequest" name="mortgageRequest"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimResponse">
<wsdlart element="implrocessMortgageClaimReturn" name="processMortgageClaimReturn"/>
</wsdl:message>
<wsdl:message name="processRentalClaimRequest">
<wsdlart element="tns1:rentalRequest" name="rentalRequest"/>
</wsdl:message>
<wsdlortType name="BulkClaimServiceImpl">
<wsdlperation name="processMortgageClaim" parameterOrder="mortgageRequest">
<wsdl:input message="implrocessMortgageClaimRequest" name="processMortgageClaimRequest"/>
<wsdlutput message="implrocessMortgageClaimResponse" name="processMortgageClaimResponse"/>
</wsdlperation>
<wsdlperation name="processRentalClaim" parameterOrder="rentalRequest">
<wsdl:input message="implrocessRentalClaimRequest" name="processRentalClaimRequest"/>
<wsdlutput message="implrocessRentalClaimResponse" name="processRentalClaimResponse"/>
</wsdlperation>
</wsdlortType>
<wsdl:binding name="BulkClaimSoapBinding" type="impl:BulkClaimServiceImpl">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdlperation name="processMortgageClaim">
<wsdlsoapperation soapAction=""/>
<wsdl:input name="processMortgageClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlutput name="processMortgageClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdlutput>
</wsdlperation>
<wsdlperation name="processRentalClaim">
<wsdlsoapperation soapAction=""/>
<wsdl:input name="processRentalClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdlutput name="processRentalClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdlutput>
</wsdlperation>
</wsdl:binding>
<wsdl:service name="BulkClaimServiceImplService">
<wsdlort binding="impl:BulkClaimSoapBinding" name="BulkClaim">
<wsdlsoap:address location="http://vtpcol03:8888/pcol/services/BulkClaim"/>
</wsdlort>
</wsdl:service>
</wsdl:definitions>