p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   XML (http://p2p.wrox.com/forumdisplay.php?f=91)
-   -   soapenv:Client - Error: Could not resolve to an op (http://p2p.wrox.com/showthread.php?t=71437)

crmpicco November 12th, 2008 12:08 PM

soapenv:Client - Error: Could not resolve to an op
 
Hi Guys,

Can anyone help me out with a problem i'm having with sending off a request to this webservice? Part of the request i'm making is:

Code:

<p181:RedemptRequest xmlns:p181="http://giftcard.storedvalue.com">
Code:

<soapenv:Envelope>
    <soapenv:Header/>
        <soapenv:Body>
            <soapenv:Fault>
                <faultcode>soapenv:Client</faultcode>
                <faultstring>WSWS3277E: Error: Could not resolve to an operation.  The message contains an element named ""{http://ayrshireminis.com}RedemptRequest"", but this does not match any operation of the target port. Debug: name: services/GiftCardOnline
implClass:      class com.ayrshireminis.giftcard.GiftCardOnline......

Does anyone know what the start of this faultstring is saying?

_______________________
Ayrshire Minis - a Mini E-Community
www.ayrshireminis.com
www.crmpicco.co.uk
www.scottishminis.com

samjudson November 12th, 2008 12:10 PM

The error pretty much says it all - there is no method called RedemptRequest on that web service.

As no-one here is likely to know anything about this web service I recommend you contact the administrator of the web service.

/- Sam Judson : Wrox Technical Editor -/

crmpicco November 12th, 2008 12:22 PM

The thing is - there should be one there, I know I have RedemptRequest in the example I provided. But that was just as an example rather than the accurate script.

This is the Schema:
http://tinyurl.com/svsredemption

_______________________
Ayrshire Minis - a Mini E-Community
www.ayrshireminis.com
www.crmpicco.co.uk
www.scottishminis.com

samjudson November 12th, 2008 12:25 PM

Well I can't see anything called RedemptRequest in that WSDL. Are you thinking of redemptionRequest perhaps?

I'm not sure, but it might be case sensitive as well.

/- Sam Judson : Wrox Technical Editor -/

crmpicco November 12th, 2008 12:29 PM

yea, that's the one I am using. and I am using the correct case, I think i'll have to contact the admin there

_______________________
Ayrshire Minis - a Mini E-Community
www.ayrshireminis.com
www.crmpicco.co.uk
www.scottishminis.com

samjudson November 12th, 2008 01:02 PM

Well, your code above complains about RedemptRequest, which is not the same as redemptionRequest .

I also note that is mentions a namespace called http://ayrshireminis.com, which is also incorrect.

/- Sam Judson : Wrox Technical Editor -/

crmpicco November 12th, 2008 01:11 PM

Sam, I was saying in an earlier post they were just examples. Thanks for trying anyway :-)

_______________________
Ayrshire Minis - a Mini E-Community
www.ayrshireminis.com
www.crmpicco.co.uk
www.scottishminis.com

mhkay November 12th, 2008 01:18 PM

Do you realise what you are asking? It's effectively this: "Can you tell me why my program doesn't work? Here is another program, it's not the same one, but it's quite similar, only I have introduced some extra bugs which you should ignore."

Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference


All times are GMT -4. The time now is 02:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.