Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

powerbuilder 9.0 web service call..

138 views
Skip to first unread message

swati

unread,
Nov 30, 2009, 5:09:56 AM11/30/09
to
Hi all.. i am trying to invoke an existing webservice which is running
in my local from PB9.0... when I give the URL in the web service proxy
wizard and click >>next button it throws the error "There is no
service in the WSDL file".. If i browse and select it from local it
says "Cannot parse the WSDL".. Any idea what the problem could be??
would be great if someone could share info on how to specify the WSDL
file name in the wizard..
is there some format?
currently i am trying with url "http://localhost:10000/TAMBusinessWS/
services/AbsenceWSPort"

any help is greatly appreciated.. !

Bruce Armstrong

unread,
Nov 30, 2009, 10:00:22 AM11/30/09
to

What does the WSDL look like?

On Mon, 30 Nov 2009 02:09:56 -0800 (PST), swati <swat...@gmail.com>
wrote:

-----------------------------------

My Web 2.0 Stuff

Blog: http://bruce.pbdjmagazine.com/
Facebook: http://www.facebook.com/people/Bruce-Armstrong/1600223798
Fotki: http://public.fotki.com/brucearmstrong/
LinkedIn: http://www.linkedin.com/in/bruceaarmstrong
Twitter: http://twitter.com/bruce_armstrong
YouTube: http://www.youtube.com/user/brucearmstrong

swati

unread,
Dec 1, 2009, 10:52:55 PM12/1/09
to
Hi Bruce..

Any webservice i try to create a proxy for i am getting the same error
in the webservice proxy wizard...
i tried with this one...http://greg.froh.ca/fun/random-bushism/soap/?
wsdl
but it still says "There is no
service in the WSDL file"... :(


On 30 Nov, 20:00, Bruce Armstrong


<NOCANSPAM_bruce.armstr...@yahoo.com> wrote:
> What does the WSDL look like?
>

> On Mon, 30 Nov 2009 02:09:56 -0800 (PST), swati <swath...@gmail.com>

Bruce Armstrong

unread,
Dec 2, 2009, 8:09:24 AM12/2/09
to

What does the WSDL look like?

On Tue, 1 Dec 2009 19:52:55 -0800 (PST), swati <swat...@gmail.com>
wrote:

>Hi Bruce..

Bruce Armstrong

unread,
Dec 2, 2009, 8:45:38 AM12/2/09
to

The oldest copy of PB I have readily available is PB10, and I was able
to create a proxy fine from that WSDL. Do you have to go through a
proxy to get to the internet? If so, you might try saving the WSDL
locally and then trying to generate the proxy from that.

On Tue, 1 Dec 2009 19:52:55 -0800 (PST), swati <swat...@gmail.com>
wrote:

>Hi Bruce..

Message has been deleted

Bruce Armstrong

unread,
Dec 5, 2009, 1:44:10 AM12/5/09
to

That's not enough to know what the problem is. You've got a reference
to an external XSD file in that WSDL:


schemaLocation="../../../../Schema/ExternalServiceSchema/Registration.xsd"

I'd have to see that as well to see if there's a problem.

Also, I'm not sure the old EasySOAP proxy generator (the one in PB9
and PB10 and which still comes but is not recommended in PB 10.5 and
later) handles external XSD references well. You might be able to
copy the XSD info into the original WSDL and create the proxy using
that.

On Thu, 3 Dec 2009 02:08:53 -0800 (PST), swati <swat...@gmail.com>
wrote:

>Hi Bruce..
>
>this is how our wsdl looks... is there some format of wsdl that pb9.0
>is expecting?
>
>
>
><?xml version="1.0" encoding="UTF-8"?>
><wsdl:definitions
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:schema="http://tam.com/us/ins/product/disability/
>externalservices/websvc/registration/schema"
>
>xmlns:tns="services.registration.websvc.externalservices.disability.product.ins.us.tam.com"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> name="RegistrationWS"
>
>targetNamespace="services.registration.websvc.externalservices.disability.product.ins.us.tam.com">
> <wsdl:types>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <xsd:import namespace="http://metlife.com/us/ins/product/
>disability/externalservices/websvc/registration/schema"
>schemaLocation="../../../../Schema/ExternalServiceSchema/
>Registration.xsd"/>
> </xsd:schema>
> </wsdl:types>
>
> <wsdl:message name="RegistrationWSInput">
> <wsdl:part element="schema:GetRegistrationRequest" name="inParam"/
>>
> </wsdl:message>
>
> <wsdl:message name="RegistrationWSOuput">
> <wsdl:part element="schema:GetRegistrationResponse"
>name="outParam"/>
> </wsdl:message>
>
> <wsdl:portType name="RegistrationWSPortType">
> <wsdl:operation name="getRegistration">
> <wsdl:input message="tns:RegistrationWSInput"
>name="RegistrationWSInput"/>
> <wsdl:output message="tns:RegistrationWSOuput"
>name="RegistrationWSOutput"/>
> </wsdl:operation>
> </wsdl:portType>
>
> <wsdl:binding name="RegistrationWSBinding"
>type="tns:RegistrationWSPortType">
> <soap:binding style="document" transport="http://
>schemas.xmlsoap.org/soap/http"/>
> <wsdl:operation name="getRegistration">
> <soap:operation />
> <wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
> <wsdl:output>
> <soap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
>
> <wsdl:service name="RegistrationWS">
> <wsdl:port binding="tns:RegistrationWSBinding"
>name="RegistrationWSPort">
> <soap:address location="http://dev.extws.absmgmt.tam.com/
>TAMExternalWS/services/RegistrationWSPort"/>
> </wsdl:port>
> </wsdl:service>
></wsdl:definitions>
>
>
>
>
>
>On Dec 2, 6:45�pm, Bruce Armstrong


><NOCANSPAM_bruce.armstr...@yahoo.com> wrote:
>> The oldest copy of PB I have readily available is PB10, and I was able
>> to create a proxy fine from that WSDL. �Do you have to go through a
>> proxy to get to the internet? �If so, you might try saving the WSDL
>> locally and then trying to generate the proxy from that.
>>

>> On Tue, 1 Dec 2009 19:52:55 -0800 (PST), swati <swath...@gmail.com>

>> YouTube: �http://www.youtube.com/user/brucearmstrong- Hide quoted text -
>>
>> - Show quoted text -

0 new messages