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
David ChristiansonSubject: Web Service Call caching problem?
Author: David Christianson
Date: 02 Feb 2006 04:04 PM
I am just starting to use Stylus Studio and the first project and key reason to purchase it was to do a Web Service call to a certain agency. When I enter the specified WSDL URI a web service comes up OK but when I hit preview I get a string of error messages. The agency that runs the Web Service says that I am getting a preview from XML version 1 and the agency has moved to version 2. The agency says it is a problem of Stylus Studio caching but I can find no way to clear any Stylus Studio cache. I can go to other web services and the preview does not return errors but data. Do you have any suggestions.

Postnext
(Deleted User) Subject: Web Service Call caching problem?
Author: (Deleted User)
Date: 02 Feb 2006 04:36 PM
Originally Posted: 02 Feb 2006 04:37 PM
Hi, David.

Can you
-- tell us what version/build of Stylus Studio you are using
-- tell us what Web service and WSDL URI you are trying to reach
-- give us an example of the error messages you are receiving?

Thanks!

David Foster
Stylus Studio Team

Postnext
David ChristiansonSubject: Web Service Call caching problem?
Author: David Christianson
Date: 02 Feb 2006 04:51 PM
- The version is Stylus Studio XML Enterprise, build 501h

- The URL is https://webservices.crimnet.state.mn.us/statute/services/StatuteService_v2.0?wsdl

- The XML generated in Stylus Studio is
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:AllStatuteQueryRequest xmlns:tns="http://crimnet.state.mn.us/mnjustice/statute/service/1.0">
<tns:firstStatutesReturned/>
<tns:maxStatutesReturned/>
</tns:AllStatuteQueryRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

- The XML returned when Internet Explorer goes to the URL is
<?xml version="1.0" encoding="UTF-8" ?>
- <soap:Envelope xmlns:mrns0="http://crimnet.state.mn.us/mnjustice/statute/messages/2.0" xmlns:mrns1="http://crimnet.state.mn.us/mnjustice/statute/2.0" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://crimnet.state.mn.us/mnjustice/statute/service/2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <soap:Body>
- <tns:BasicSearchQueryRequest>
- <mrns0:BasicSearchCriteria>
<mrns1:Section xsi:nil="true" />
<mrns1:Subdivision xsi:nil="true" />
<mrns0:keyword>gun</mrns0:keyword>
<mrns0:keywordQueryScope>summary</mrns0:keywordQueryScope>
</mrns0:BasicSearchCriteria>
</tns:BasicSearchQueryRequest>
</soap:Body>
</soap:Envelope>

--The error messages start
Axis Fault
Faultcode:{http://xml.apache.org/axis/}HTTP
Faultsubcode:
Faultstring: (500)500
Faultactor:
Faultnode:
FaultDetail:
{}String:Return Code 500
and then about 11 lines referring to apache code

Posttop
Ivan PedruzziSubject: Web Service Call caching problem?
Author: Ivan Pedruzzi
Date: 02 Feb 2006 06:10 PM
David

The URL you mentioned points to WSDL document:
https://webservices.crimnet.state.mn.us/statute/services/StatuteService_v2.0?wsdl.

What do you mean by "The XML returned when Internet Explorer goes to the URL is..." ?

What you see in WSCC is the SOAP request for the first operation: AllStatuteQuery.

If you click on BasicSearchQuery (in the tree on the left) you will see the SOAP request for that message.

It seems that the server is returning "Internal Error" (code 500) no metter which value it received.

Is there any documentation that describes the SOAP request expected by this Web Service?

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
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.