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
Wen RuanSubject: Call Web Service, Nothing return in Preview
Author: Wen Ruan
Date: 07 Feb 2007 02:38 PM
Hey,

I started using Stylus Studio to test Web service. I loaded WSDL file and passed parameter value. After I ran "Send Request", nothing happened in preview. I went to output view and got errors. I don't know what to do with these errors. Any settings I will have to check or reset? Please help and thank you!


UnknownOutput.txt
Output file

Unknownscreen_shot_Stylus.doc
the screenprint

Postnext
Ivan PedruzziSubject: Call Web Service, Nothing return in Preview
Author: Ivan Pedruzzi
Date: 07 Feb 2007 03:15 PM
Originally Posted: 07 Feb 2007 03:14 PM
Hi Wen,

Which Stylus Studio build are you running?

Did you try to connect to using the .NET client?
http://www.stylusstudio.com/docs/v2007/d_webservices24.html#wp355794

Thanks
Ivan Pedruzzi
Stylus Studio Team

Postnext
Wen RuanSubject: Call Web Service, Nothing return in Preview
Author: Wen Ruan
Date: 07 Feb 2007 03:25 PM
The build is 735f. We purchased the software yesterday. It should be latest version.

I tested using

http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL#StockQuotesSoap

It works fine. But I don't have .Net Client to call your link.

Thanks,

Wen

Postnext
Ivan PedruzziSubject: Call Web Service, Nothing return in Preview
Author: Ivan Pedruzzi
Date: 07 Feb 2007 03:46 PM
Wen,

Could you please provide more details about the service you are trying to call?

Could you post the WSDL document?

Thanks
Ivan Pedruzzi
Stylus Studio Team

Postnext
Wen RuanSubject: Call Web Service, Nothing return in Preview
Author: Wen Ruan
Date: 07 Feb 2007 03:59 PM
Ivan:

We are working on the project integrating one public Web site with Siebel (a CRM application). From Siebel, I have a web service up running. I used to have trial version of Stylus and did simple query by Id. I am sure that web service is working fine. We have been through testing phase and don't see issues. We had moved to all web services to production. At same time, we purchased Stylus Enterprise as a tool to have real-time testing. We want to make sure there are no issues with web services before users get into the web site to hit Siebel web service. Please see the attached WSDL, one for Dev, one for Production. Thanks, - Wen


UnknownNPACUserAgree_NPACUserAgreement.wsdl
WSDL from Dev

UnknownNPACUserAgree_NPACUserAgreement_prod.wsdl
WSDL from Prod

Postnext
Ivan PedruzziSubject: Call Web Service, Nothing return in Preview
Author: Ivan Pedruzzi
Date: 07 Feb 2007 05:16 PM
The end point is HTTPS and it seems like that the JVM Stylus Studio uses is not configured with appropriate SSL certificate.

Under the JRE bin directory you can find a command-line tool that allows to import SSL certificates

c:\Program Files\Java\jre1.5.0_09\bin\keytool.exe

The documentation is available at
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/keytool.html

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
Wen RuanSubject: Call Web Service, Nothing return in Preview
Author: Wen Ruan
Date: 14 Feb 2007 11:45 AM
Thank you for the information!

I read some documents. I was wondering what is file format for the certificates? do I need to install any other software to enable SSL certificates? Thanks!

Postnext
Ivan PedruzziSubject: Call Web Service, Nothing return in Preview
Author: Ivan Pedruzzi
Date: 14 Feb 2007 02:03 PM
Hi Wen,

The certificate file is what you need (is a binary format), you can store it using keytool in the default location

c:\Program Files\Java\jre1.5.0_09\lib\security\cacerts

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
Wen RuanSubject: Call Web Service, Nothing return in Preview
Author: Wen Ruan
Date: 15 Feb 2007 11:34 AM
Ivan:

I generated the binary file and copied the SSL certificate file to c:\Program Files\Java\j2re1.4.2\bin. I got error message using Keytool : java.io.FileNotFoundException:cacerts (The system cannot find the file specified) when I ran the command. The command line I used is : keytool -import -file cacerts -keypass changeit -storepass changeit. Would you please help me withe the issue? Thanks a lot!

-Wen

Postnext
Ivan PedruzziSubject: Call Web Service, Nothing return in Preview
Author: Ivan Pedruzzi
Date: 15 Feb 2007 11:03 PM
Hi Wen

You should reference the JRE keystore with its full path
In the following example mycertificate.cer is the certificate file to import

keytool -import -file mycertificate.cer -keypass changeit -storepass changeit -keystore "c:\Program Files\Java\jre1.5.0_09\lib\security\cacerts"

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
Wen RuanSubject: Call Web Service, Nothing return in Preview
Author: Wen Ruan
Date: 16 Feb 2007 11:17 AM
It looks like the issue to recognize the location of certificate. I have generated the certificate from production environment. Production is trusted site. I placed the file under the default location. When I ran the command, I identified the full path of JRE keystore

keytool -import -file cacerts.cer -keypass changeit -storepass changeit -keystore "c:\Program Files\Java\j2re1.4.2\lib\security\cacerts"

It still threw the error:

keytool error: java.io.FileNotFoundException: cacerts.cer (The system cannot find the file specified)

Did I do something wrong? Would you please help? Thanks!

Posttop
Ivan PedruzziSubject: Call Web Service, Nothing return in Preview
Author: Ivan Pedruzzi
Date: 16 Feb 2007 12:37 PM


By default location do you mean the following?
c:\Program Files\Java\j2re1.4.2\lib\security\cacerts.cer

Did you try using the full path?

keytool -import -file "c:\Program Files\Java\j2re1.4.2\lib\security\cacerts.cer" -keypass changeit -storepass changeit -keystore "c:\Program Files\Java\j2re1.4.2\lib\security\cacerts"


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.