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
J DSubject: Web Service
Author: J D
Date: 03 Sep 2007 04:59 AM
When building a web service call in Stylus Studio, I am unable to use the edit window above the SOAP request to modify the "Value". I can type in the field, but the value is canceled when I click to the next field and the SOAP request is not changed. If I edit the request manually, it launches fine, but no results.

It's for a local web service that a vendor supplies.
Their tool allows me to connect and issue the soap request and get results, but I cannot do the same with Stylus Studio

Here's the WSDL I enter:
http://127.0.0.1/scripts/arcCGI.exe?wsdl

Here's the code the Vendor runs.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soap:Body xmlns="http://schemas.arcplan.com/arcplan/WebService">
<GetObjectContent>
<Application>arcplanDemo</Application>
<Document>SALESDoc1</Document>
<ObjID>72</ObjID>
</GetObjectContent>
</soap:Body>

</soap:Envelope>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://schemas.arcplan.com/arcplan/WebService"><xsl:output encoding="ISO-8859-1" indent="yes" method="xml" version="1.0"/><xsl:template match="/soap:Envelope"><xsl:element name="result"><xsl:for-each select="soap:Body/ons1:GetObjectContentResponse/ons1:GetObjectContentResult/ons1:ObjectData/ons1:Rows/ons1:Row"><xsl:element name="ons1:Cell"><xsl:value-of select="./ons1:Cell"/></xsl:element></xsl:for-each></xsl:element></xsl:template></xsl:stylesheet>


Pasting the SOAP request into Stylus Studio gives me these (basically empty) results in the preview window and nothing in the output window:

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.arcplan.com/arcplan/clientCommunication" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soap:Body>
<Response xmlns="http://schemas.arcplan.com/arcplan/clientCommunication">
<Result/>
</Response>
</soap:Body>

</soap:Envelope>


Does this look to be a vendor problem where I should contact them regarding how they are complying with the standard or am I missing something simple?

Thanks very much!

Postnext
J DSubject: Web Service
Author: J D
Date: 03 Sep 2007 08:34 AM
Let me add the following.

1) If I edit the soap request slightly by removing the first namespace after <tns:GetObjectContent ... then I am able to edit the WSDL Values... Interesting?

Here's the changed SOAP request that I can now edit (but this is not what Stylus Studio produces when it examines the WSDL (attached below also)

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<tns:GetObjectContent xmlns:tns="http://schemas.arcplan.com/arcplan/WebService">
<SessionToken>df</SessionToken>
<Application></Application>
<Document/>
<ObjID/>
<UserName/>
<Password/>
</tns:GetObjectContent>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>





WSDL Document:

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.arcplan.com/arcplan/WebService" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:tns="http://schemas.arcplan.com/arcplan/WebService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<wsdl:types>

<xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.arcplan.com/arcplan/WebService" xmlns="http://schemas.arcplan.com/arcplan/WebService" xmlns:tns="http://schemas.arcplan.com/arcplan/WebService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="ObjectDataTyp">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="Rows">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Row">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Cell" type="DataCell"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="GetObjectContent">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="SessionToken" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="Application" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="Document" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="ObjID" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="UserName" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="Password" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetObjectContentResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="GetObjectContentResult" type="GetObjectContentResult"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="GetObjectContentResult">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="ObjectData" type="ObjectDataTyp"/>
</xs:sequence>
</xs:complexType>
<xs:element name="GetImage">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="SessionToken" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="Application" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="Document" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="ObjID" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="UserName" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="Password" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="ImageType" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetImageResponse">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="GetImageResult" type="tns:GetImageResult"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="GetImageResult">
<xs:sequence>
<xs:element name="Image" type="ImageType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ImageType">
<xs:simpleContent>
<xs:extension base="xs:base64Binary">
<xs:attribute name="Type" type="xs:string">
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name="InitSession">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="UserName" type="xs:string"/>
<xs:element minOccurs="0" name="Password" type="xs:string"/>
<xs:element name="Application" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="CloseSessionResult">
<xs:sequence>
<xs:element name="SessionID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="CloseSession">
<xs:complexType>
<xs:sequence>
<xs:element name="SessionToken" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CloseSessionResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="CloseSessionResult" type="CloseSessionResult"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="InitSessionResult">
<xs:sequence>
<xs:element name="SessionToken" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="InitSessionResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="InitSessionResult" type="InitSessionResult"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="DataCell">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Type" type="xs:string"/>
<xs:attribute name="ImageType" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name="SendEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="SessionToken" type="xs:string"/>
<xs:element name="Document" type="xs:string"/>
<xs:element name="ObjID" type="xs:string"/>
<xs:element name="Event" type="xs:string"/>
<xs:element minOccurs="0" name="Parameter" type="xs:string"/>
<xs:element minOccurs="0" name="ParameterType" type="xs:string"/>
<xs:element minOccurs="0" name="Row" type="xs:int"/>
<xs:element minOccurs="0" name="Column" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SendEventResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="SendEventResult" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SetUser">
<xs:complexType>
<xs:sequence>
<xs:element name="SessionToken" type="xs:string"/>
<xs:element name="Connection" type="xs:string"/>
<xs:element name="UserName" type="xs:string"/>
<xs:element name="Password" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SetUserResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="SetUserResult" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

</wsdl:types>
<wsdl:message name="GetObjectContentSoapIn">
<wsdl:part element="tns:GetObjectContent" name="parameters"/>
</wsdl:message>
<wsdl:message name="GetObjectContentSoapOut">
<wsdl:part element="tns:GetObjectContentResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="GetImageSoapIn">
<wsdl:part element="tns:GetImage" name="parameters"/>
</wsdl:message>
<wsdl:message name="GetImageSoapOut">
<wsdl:part element="tns:GetImageResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="InitSessionSoapIn">
<wsdl:part element="tns:InitSession" name="parameters"/>
</wsdl:message>
<wsdl:message name="InitSessionSoapOut">
<wsdl:part element="tns:InitSessionResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="CloseSessionSoapIn">
<wsdl:part element="tns:CloseSession" name="parameters"/>
</wsdl:message>
<wsdl:message name="CloseSessionSoapOut">
<wsdl:part element="tns:CloseSessionResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="SendEventSoapIn">
<wsdl:part element="tns:SendEvent" name="parameters"/>
</wsdl:message>
<wsdl:message name="SendEventSoapOut">
<wsdl:part element="tns:SendEventResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="SetUserSoapIn">
<wsdl:part element="tns:SetUser" name="parameters"/>
</wsdl:message>
<wsdl:message name="SetUserSoapOut">
<wsdl:part element="tns:SetUserResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="ServiceSoap">
<wsdl:operation name="GetObjectContent">
<wsdl:input message="tns:GetObjectContentSoapIn"/>
<wsdl:output message="tns:GetObjectContentSoapOut"/>
</wsdl:operation>
<wsdl:operation name="GetImage">
<wsdl:input message="tns:GetImageSoapIn"/>
<wsdl:output message="tns:GetImageSoapOut"/>
</wsdl:operation>
<wsdl:operation name="InitSession">
<wsdl:input message="tns:InitSessionSoapIn"/>
<wsdl:output message="tns:InitSessionSoapOut"/>
</wsdl:operation>
<wsdl:operation name="CloseSession">
<wsdl:input message="tns:CloseSessionSoapIn"/>
<wsdl:output message="tns:CloseSessionSoapOut"/>
</wsdl:operation>
<wsdl:operation name="SendEvent">
<wsdl:input message="tns:SendEventSoapIn"/>
<wsdl:output message="tns:SendEventSoapOut"/>
</wsdl:operation>
<wsdl:operation name="SetUser">
<wsdl:input message="tns:SetUserSoapIn"/>
<wsdl:output message="tns:SetUserSoapOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ServiceSoap" type="tns:ServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="InitSession">
<soap:operation soapAction="http://schemas.arcplan.com/arcplan/WebService/InitSession" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="CloseSession">
<soap:operation soapAction="http://schemas.arcplan.com/arcplan/WebService/InitSession" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetObjectContent">
<soap:operation soapAction="http://schemas.arcplan.com/arcplan/WebService/GetObjectContent" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetImage">
<soap:operation soapAction="http://schemas.arcplan.com/arcplan/WebService/GetImage" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SendEvent">
<soap:operation soapAction="http://schemas.arcplan.com/arcplan/WebService/SendEvent" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SetUser">
<soap:operation soapAction="http://schemas.arcplan.com/arcplan/WebService/SetUser" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="arcplanAnalyticServices">
<wsdl:port binding="tns:ServiceSoap" name="ServiceSoap">
<soap:address location="http://127.0.0.1/Scripts/arcCGI.exe"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Postnext
J DSubject: Web Service
Author: J D
Date: 03 Sep 2007 05:46 PM
Ok, so I tried out the option Stylus Studio has to convert the SOAP request into an xquery. It does the conversion and I get results. It creates a bunch of namespaces and I've stripped them all away (unnecessary). Still good results. Here's what I have:

ddtek:wscall(
<ddtek:location
address="http://192.168.241.128/Scripts/arcCGI.exe"/>,

<ons1:GetObjectContent xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService">
<ons1:Application>arcplanDemo</ons1:Application>
<ons1:Document>SALESDoc1</ons1:Document>
<ons1:ObjID>85</ons1:ObjID>
</ons1:GetObjectContent>
)


This generates the results I want here:

<GetObjectContentResponse xmlns="http://schemas.arcplan.com/arcplan/WebService">
<GetObjectContentResult>
<ObjectData>
<Rows>
<Row>
<Cell Type="double">29.850829968596</Cell>
</Row>
<Row>
<Cell Type="double">37.833092018114</Cell>
</Row>
</Rows>
</ObjectData>
</GetObjectContentResult>
</GetObjectContentResponse>

So, I went back at the SOAP request (I need it to be embeded in a small demo app). I simplified it down to this, which generates as close as I've come to the same XQuery above (still works, just like the original - same results via XQuery). So, why does the SOAP request not give me any results when run in Stylus Studio? How is it possible to take a bad SOAP request and automatically turn it into a good XQuery?

SOAP Request (still doesn't work)

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ons1:GetObjectContent xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService">
<ons1:Application>arcplanDemo</ons1:Application>
<ons1:Document>SALESDoc1</ons1:Document>
<ons1:ObjID>85</ons1:ObjID>
</ons1:GetObjectContent>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Results of SOAP Request:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.arcplan.com/arcplan/clientCommunication" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soap:Body>
<Response xmlns="http://schemas.arcplan.com/arcplan/clientCommunication">
<Result/>
</Response>
</soap:Body>

</soap:Envelope>



Generated (copy to clipboard) XQuery:

declare namespace ons1 = "http://schemas.arcplan.com/arcplan/WebService";


ddtek:wscall(
<ddtek:location
address="http://192.168.241.128/Scripts/arcCGI.exe"
soapaction="http://schemas.arcplan.com/arcplan/WebService/GetObjectContent"
timeout="30000"/>,

<ons1:GetObjectContent xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService">
<ons1:Application>arcplanDemo</ons1:Application>
<ons1:Document>SALESDoc1</ons1:Document>
<ons1:ObjID>85</ons1:ObjID>
</ons1:GetObjectContent>
)

Results:
<GetObjectContentResponse xmlns="http://schemas.arcplan.com/arcplan/WebService">
<GetObjectContentResult>
<ObjectData>
<Rows>
<Row>
<Cell Type="double">29.850829968596</Cell>
</Row>
<Row>
<Cell Type="double">37.833092018114</Cell>
</Row>
</Rows>
</ObjectData>
</GetObjectContentResult>
</GetObjectContentResponse>


Any ideas on why that SOAP request is bad and how I can fix it? Since the XQuery works, this is not a vendor problem with the WSDL, is it? Perhaps an issue with Stylus Studio?

Thanks!

Postnext
Ivan PedruzziSubject: Web Service
Author: Ivan Pedruzzi
Date: 03 Sep 2007 10:57 PM

JD,

Which Stylus Studio build are you running
Help -> About -> Framework version?

In the Stylus Studio latest version the SOAP request appears correct.




Ivan Pedruzzi
Stylus Studio Team

Postnext
J DSubject: Web Service
Author: J D
Date: 04 Sep 2007 03:34 AM
I have build 894k for all modules.

Version Info

Postnext
J DSubject: Web Service
Author: J D
Date: 04 Sep 2007 03:31 AM
Ok, so I tried out the option Stylus Studio has to convert the SOAP request into an xquery. It does the conversion and I get results. It creates a bunch of namespaces and I've stripped them all away (unnecessary). Still good results. Here's what I have:

ddtek:wscall(
<ddtek:location
address="http://192.168.241.128/Scripts/arcCGI.exe"/>,

<ons1:GetObjectContent xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService">
<ons1:Application>arcplanDemo</ons1:Application>
<ons1:Document>SALESDoc1</ons1:Document>
<ons1:ObjID>85</ons1:ObjID>
</ons1:GetObjectContent>
)


This generates the results I want here:

<GetObjectContentResponse xmlns="http://schemas.arcplan.com/arcplan/WebService">
<GetObjectContentResult>
<ObjectData>
<Rows>
<Row>
<Cell Type="double">29.850829968596</Cell>
</Row>
<Row>
<Cell Type="double">37.833092018114</Cell>
</Row>
</Rows>
</ObjectData>
</GetObjectContentResult>
</GetObjectContentResponse>

So, I went back at the SOAP request (I need it to be embeded in a small demo app). I simplified it down to this, which generates as close as I've come to the same XQuery above (still works, just like the original - same results via XQuery). So, why does the SOAP request not give me any results when run in Stylus Studio? How is it possible to take a bad SOAP request and automatically turn it into a good XQuery?

SOAP Request (still doesn't work)

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ons1:GetObjectContent xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService">
<ons1:Application>arcplanDemo</ons1:Application>
<ons1:Document>SALESDoc1</ons1:Document>
<ons1:ObjID>85</ons1:ObjID>
</ons1:GetObjectContent>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Results of SOAP Request:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.arcplan.com/arcplan/clientCommunication" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<soap:Body>
<Response xmlns="http://schemas.arcplan.com/arcplan/clientCommunication">
<Result/>
</Response>
</soap:Body>

</soap:Envelope>



Generated (copy to clipboard) XQuery:

declare namespace ons1 = "http://schemas.arcplan.com/arcplan/WebService";


ddtek:wscall(
<ddtek:location
address="http://192.168.241.128/Scripts/arcCGI.exe"
soapaction="http://schemas.arcplan.com/arcplan/WebService/GetObjectContent"
timeout="30000"/>,

<ons1:GetObjectContent xmlns:ons1="http://schemas.arcplan.com/arcplan/WebService">
<ons1:Application>arcplanDemo</ons1:Application>
<ons1:Document>SALESDoc1</ons1:Document>
<ons1:ObjID>85</ons1:ObjID>
</ons1:GetObjectContent>
)

Results:
<GetObjectContentResponse xmlns="http://schemas.arcplan.com/arcplan/WebService">
<GetObjectContentResult>
<ObjectData>
<Rows>
<Row>
<Cell Type="double">29.850829968596</Cell>
</Row>
<Row>
<Cell Type="double">37.833092018114</Cell>
</Row>
</Rows>
</ObjectData>
</GetObjectContentResult>
</GetObjectContentResponse>


Any ideas on why that SOAP request is bad and how I can fix it? Since the XQuery works, this is not a vendor problem with the WSDL, is it? Perhaps an issue with Stylus Studio?

Thanks!

Postnext
Ivan PedruzziSubject: Web Service
Author: Ivan Pedruzzi
Date: 04 Sep 2007 09:37 PM

If you click View -> Output Window do you see any error there?

Also in the WSDL you have posted the end point is
http://127.0.0.1/Scripts/arcCGI.exe

While in XQuery you have been using
http://192.168.241.128/Scripts/arcCGI.exe

Are you running the service on your localhost as well?


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
J DSubject: Web Service
Author: J D
Date: 05 Sep 2007 06:27 AM
The output window is always blank.

The reason for the change in IP address is because I was attempting it locally when I started, and now I have it running in a virtual machine.

The issues remain
1) Stylus Studio (and the Oxygen product also by the way) cannot give me any results for the SOAP request
2) Stylus Studio does not allow me to type values into this particular web request, but allows me to do so for others.

My point was to build/troubleshoot a web request that I was creating in Adobe Flex 2. I have found another product called Charles that helped me solve my problem with Flex and the SOAP request there is now working fine. Seems to me there are just a couple of bugs in Stylus Studio and perhaps some other XML editing tools like Oxygen.

It would be nice to confirm, but I'm very certain the inability to type in the value cells is a problem with the parsing of the namespaces. As for not returning any results, I do not know. I can't seem to find a way to trace the communication of stylus studio to offer any more details of the problem...

Please help when you have a chance. It would be nice to use this tool to check web service results quickly.

Thanks very much!

Postnext
Ivan PedruzziSubject: Web Service
Author: Ivan Pedruzzi
Date: 05 Sep 2007 10:05 PM
We can confirm that build 894k had a problem on editing SOAP requests whose elements overrode the default namespace.

The problem has been fixed in the upcoming maintenance release.

What is still a mystery is why the same SOAP request succeeded from XQuery but failed in the WS Call Composer.

Without testing the Web Service in house is tough to say why.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
J DSubject: Web Service
Author: J D
Date: 06 Sep 2007 06:00 AM
Thank you very much.

If you can send me a personal email, I will let you know along with a live (external) web address where you can connect to the WSDL as soon as I can get somebody to set it up.


Best Regards and thanks for your time and assistance!

Postnext
Ivan PedruzziSubject: Web Service
Author: Ivan Pedruzzi
Date: 06 Sep 2007 06:31 PM

Please contact me at stylus-field-report@progress.com

Thank you
Ivan Pedruzzi
Stylus Studio Team

Posttop
Ivan PedruzziSubject: Web Service
Author: Ivan Pedruzzi
Date: 26 Sep 2007 05:27 PM

The issue has been solved off-line.

It turned out that this particular Web Service implementation doesn't like SOAP requests indented. Removing all ignorable white-space solved the problem.

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.