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">
<wsdl
art element="impl
rocessRentalClaimReturn" name="processRentalClaimReturn"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimRequest">
<wsdl
art element="tns1:mortgageRequest" name="mortgageRequest"/>
</wsdl:message>
<wsdl:message name="processMortgageClaimResponse">
<wsdl
art element="impl
rocessMortgageClaimReturn" name="processMortgageClaimReturn"/>
</wsdl:message>
<wsdl:message name="processRentalClaimRequest">
<wsdl
art element="tns1:rentalRequest" name="rentalRequest"/>
</wsdl:message>
<wsdl
ortType name="BulkClaimServiceImpl">
<wsdl
peration name="processMortgageClaim" parameterOrder="mortgageRequest">
<wsdl:input message="impl
rocessMortgageClaimRequest" name="processMortgageClaimRequest"/>
<wsdl
utput message="impl
rocessMortgageClaimResponse" name="processMortgageClaimResponse"/>
</wsdl
peration>
<wsdl
peration name="processRentalClaim" parameterOrder="rentalRequest">
<wsdl:input message="impl
rocessRentalClaimRequest" name="processRentalClaimRequest"/>
<wsdl
utput message="impl
rocessRentalClaimResponse" name="processRentalClaimResponse"/>
</wsdl
peration>
</wsdl
ortType>
<wsdl:binding name="BulkClaimSoapBinding" type="impl:BulkClaimServiceImpl">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl
peration name="processMortgageClaim">
<wsdlsoap
peration soapAction=""/>
<wsdl:input name="processMortgageClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl
utput name="processMortgageClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdl
utput>
</wsdl
peration>
<wsdl
peration name="processRentalClaim">
<wsdlsoap
peration soapAction=""/>
<wsdl:input name="processRentalClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl
utput name="processRentalClaimResponse">
<wsdlsoap:body use="literal"/>
</wsdl
utput>
</wsdl
peration>
</wsdl:binding>
<wsdl:service name="BulkClaimServiceImplService">
<wsdl
ort binding="impl:BulkClaimSoapBinding" name="BulkClaim">
<wsdlsoap:address location="http://vtpcol03:8888/pcol/services/BulkClaim"/>
</wsdl
ort>
</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">
<wsdl
</wsdl:message>
<wsdl:message name="processMortgageClaimRequest">
<wsdl
</wsdl:message>
<wsdl:message name="processMortgageClaimResponse">
<wsdl
</wsdl:message>
<wsdl:message name="processRentalClaimRequest">
<wsdl
</wsdl:message>
<wsdl
<wsdl
<wsdl:input message="impl
<wsdl
</wsdl
<wsdl
<wsdl:input message="impl
<wsdl
</wsdl
</wsdl
<wsdl:binding name="BulkClaimSoapBinding" type="impl:BulkClaimServiceImpl">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl
<wsdlsoap
<wsdl:input name="processMortgageClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl
<wsdlsoap:body use="literal"/>
</wsdl
</wsdl
<wsdl
<wsdlsoap
<wsdl:input name="processRentalClaimRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl
<wsdlsoap:body use="literal"/>
</wsdl
</wsdl
</wsdl:binding>
<wsdl:service name="BulkClaimServiceImplService">
<wsdl
<wsdlsoap:address location="http://vtpcol03:8888/pcol/services/BulkClaim"/>
</wsdl
</wsdl:service>
</wsdl:definitions>