on 09-18-2008 12:03 PM
Hello Experts,
we've implemented Web Services (Web AS as service provider, VB.NET as consumer) before SP14. With installing SP14, different changes in the service creation process, administration and SOAP runtime forced us to perform different server- and client-side adaptions.
Now, all services are running again, but we are suffering still from one problem. If we create a proxy class in VB.NET, all generated proxy classes are named 'document', probably due to the new WSDL URL (http://<server>:<port>/sap/bc/srt/wsdl/bndg_<number>/wsdl11/allinone/ws_policy/document) which seems to determine the name of the WSDL document.
Is there a possibility to change this default name (or, if necessary, the default WSDL URL)? When implementing different Web Service clients in one project, this fact exposes different problems. Maybe you could provide a short hint.
Thanks in advance,
best regards Herb
I don't code in vb . I think you could rename proxy class by registering their mapping. Usually I import my new wsdl and then rename their class name in delphi directly. Maybe it helps.
ref:
http://msdn.microsoft.com/en-us/library/aa290754(VS.71).aspx
Tip If you choose to rename the class, be sure to change the class name in the Class attribute of the WebService directive.
Edited by: Norman Su on Sep 18, 2008 6:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Norman,
thanks for your answer! I also think renaming the class in VB.NET would be a useful solution, however, maybe there is a 'standardized' way to do so by re-configuring the SOAP runtime.
What do you mean by 'registering the mapping' of the proxy class?
I have currently followed the instructions of the Service Implementation in ABAP e-book (http://www.sap.com/mk/get?_EC=PpIZUTiQ2z29c2Vu7SYqXA), where are is also created a new binding name for the Web Service. However, this setting does neither have any effect on the WSDL URL, nor on the name of the WSDL document.
Thanks a lot,
best regards
Herb
hi,
I think there is no possibility to do what you want, because the request is sent to the dynamic WSDL service
.../sap/bc/srt/wsdl
and the following part are 'URL parameters' in an unusual fashion
/b
ndg_<number>/wsdl11/allinone/ws_policy/document
in other webframeworks this would be e.g.
.../sap/bc/srt/wsdl?binding=bndg_<number>&wsdl_version=wsdl11&sap_wsdl_type=allinone&policy=on&wsdl_style=document
You couldn't easily proxy this with a static short URL either.
regards,
anton
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.