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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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.

   
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.