XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Shawn MowerSubject: SS Web Service Call Tester PayPal Wsdl
Author: Shawn Mower
Date: 08 Sep 2010 08:10 PM
Dear SS Users,

Has anyone been able to successfully test SS with the PayPal webservices.

I connected SS to the following PayPal wsdl:

https://www.paypalobjects.com/wsdl/PayPalSvc.wsdl

and it connected and brought in the different web service call options:

However, when I try to run a call I get the following error:

(411)Length Required
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (411)Length Required
faultActor:
faultNode:
faultDetail:
{}:return code: 411
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>411 Length Required</TITLE>
</HEAD><BODY>
<H1>Length Required</H1>
A request of the requested method POST requires a valid Content-length.<P>
chunked Transfer-Encoding forbidden: /appdispatcher/appdisp<P>
<HR>
<ADDRESS>Apache/1.3.33 Server at <A HREF="mailto:ppmtps@paypal.com">api.sandbox.paypal.com</A> Port 20001</ADDRESS>
</BODY></HTML>

{http://xml.apache.org/axis/}HttpErrorCode:411

(411)Length Required
at com.ddtek.xquery.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:218)
at com.ddtek.xquery.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at com.ddtek.xquery.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at com.ddtek.xquery.axis.SimpleChain.invoke(SimpleChain.java:83)
at com.ddtek.xquery.axis.client.AxisClient.invoke(AxisClient.java:165)
at com.ddtek.xquery.axis.client.Call.invokeEngine(Call.java:2784)
at com.ddtek.xquery.axis.client.Call.invoke(Call.java:2767)
at com.ddtek.xquery.axis.client.Call.invoke(Call.java:1910)
at com.exln.stylus.webservice.AxisStub.send(AxisStub.java:128)

Would anyone be so kind and friendly as to let me know how to fix or resolve this?

Thanks in advance!
Shawn

Postnext
Minollo I.Subject: SS Web Service Call Tester PayPal Wsdl
Author: Minollo I.
Date: 09 Sep 2010 07:32 PM
Try switching to the Microsoft .NET client in the Scenario Properties.

Posttop
Shawn MowerSubject: SS Web Service Call Tester PayPal Wsdl
Author: Shawn Mower
Date: 09 Sep 2010 11:27 PM
Thank you! That seemed to help. The other problem I realized is that the PayPal wsdl is pointing to the sandbox webservice instead of the live. When I went into scenario and put the live url in, that also helped to get data back without an error.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.