on 03-16-2006 8:48 PM
Hi, I'm still trying to get the queryview web service to work. When I submit my WSDL call in IE the url works fine and I get returned all the wsdl details.
http://<server>:<port>/sap/bw/xml/soap/queryview?wsdl
I've setup a service call in Flex to use the above wsdl url and I receive an HTTP request error and it specifies the url
http://<server>:<port>/sap/bw/xml/soap/queryview?sap-client=100
Error: code:Server.Error.Request string:'HTTP request error' detail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false text="Error #2032: Stream Error. URL: http://<server>:<port>/sap/bw/xml/soap/queryview?sap-client=100"]. URL: http://<server>:<port>/sap/bw/xml/soap/queryview?sap-client=100'
at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::faultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::MessageAgent/fault()
at mx.messaging::Producer/fault()
at C:\dev\enterprise_beta1\frameworks\libs\framework.swc(mx/validators/Validator)$132::DirectHTTPMessageResponder/errorHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
Now I've noticed that the url in error is also the same url in the WSDL output for the <soap:address>.
- <wsdl:service name="query_view_dataService">
- <wsdl:port name="query_view_dataSoapBinding" binding="tns:query_view_dataSoapBinding">
<soap:address location="http://<server>:<port>/sap/bw/xml/soap/queryview?sap-client=100" />
</wsdl:port>
</wsdl:service>
The SOAP Address URL mentioned in the WSDL output does not execute in IE so it is invalid.
1. If I enter the <SOAP Address> URL in IE should it execute and return something?
2. Is the WSDL returning the wrong SOAP Address?
3. If so where is my configuration wrong?
I have followed all of the examples precisely to no avail!
Can anyone help?
Thanks!
assign points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Flex was immature. Works with new versions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kenneth,
I'm trying to do the same thing in flex and wonder if you'd mind sharing your code?
I've got the webservice working on the BW side, but struggling to work out how to use it and pass parameters from flex.
Many thanks,
AB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
when you are using sending the request using IE, please try to append the suffix ?sap-client=100, too. If then the error message also occurs in the IE, the problem is the SAP client. If you do not provide a client in the URL, the client configured in the service (ABAP backend) is used or if no client is configured there the default client is used (also refer to OSS note 429436). So maybe the request works fine when using the default client (which possibly is not equal to client 100) but not when using the client 100.
This is only a suggestion, because of the different URLs you mentioned. If the problem occurs on server side, then you send two different requests to the server. If the requests are identical (and also the logon infos like user, client, language) the problem must exist on client side. Note that you can provide logon infos as URL parameters (sap-client, sap-language, sap-user, ...) or they can be configured on server side.
Hope this helps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.