cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy object config error

Former Member
0 Kudos

Dear all, i'm here to ask your help to configure a proxy object.

I've created a proxy object based on an external (not SAP created) wsdl, and i need to use WS-Security policy, UsernameToken/PasswordText security standard. When importing the wsdl in the system, the proxy object configure itself automatically with HTTPBasic Authentication, instead of wsse. I think that the problem is in the original wsdl, maybe in the section where policies are specified, but can't find out a solution.

Are there maybe any missing mandatory sections in the wsdl? If i try to create a proxy object based on a SAP created wsdl, using the same security option, the system automatically configures the object well. Below two screen of the situation, the one in HTTPBasic is related to the wsdl above pasted.

[SAP created wsdl|http://rapidshare.com/files/331305917/Proxy_con_policy_di_sicurezza_inclusa_nel_descrittore_WSDL.jpg.html]

[Non SAP wsdl with WSSE|http://rapidshare.com/files/331307337/Proxy_con_policy_di_sicurezza_non_inclusa_nel_descrittore_WSDL.jpg]

I'm not an expert, so any advice would be accepted

Many thanks in advance,

Andrea

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Not all xml/wsdl tags are supported by SAP so it is possible that external wsdl tag is simply ignored by SAP while creating proxy.

Check for valid "Supported XML Schema and WSDL" on SDN and there is excel sheet which you can use to check your external wsdl.

Else plese post your external wsdl here and we will be able to help you.

Regards,

Gourav

Former Member
0 Kudos

Thx for the fast reply, i'll check the supported item you mentioned above.

Below is the initial section of the wsdl we're using to create the proxy object.


<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" 
xmlns:wsa10="http://www.w3.org/2005/08/addressing" 
xmlns:tns="http://xmlns.mydomain.it/service/FOUR/Elettrico/Anagrafiche" 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" 
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" 
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" 
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" 
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 

Thx,

Andrea

Edited by: Andrea Cioffarelli on Jan 8, 2010 10:42 AM

Answers (0)