on 05-20-2010 7:32 AM
Hi All,
We are using using the services available in the ES bundles. In this situation, my structure for the proxy(a response(deep) structure) is a copy of the standard structure. Here the ABAP type is matched to the XSD: type.
The problem is when we try to generate an XML for this, no XML structure appears.
There's another proxy where in this doesnot happen. We are thinking it could be cos of the data type mismatch i.e char(10) is matched with XSD:token(since tehre are a lot of warning messages) but it works fine for the standard proxy even with the warnings.
Kindly help.
Regards,
Herwin Dsouza.
> The problem is when we try to generate an XML for this, no XML structure appears.
I do not understand, what you mean by this. How do you create the XML and where do you verify, if it is available?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First a proxy is createdin SPROXY, in which there are some methods which populate the structure and then internally the XML is generated for that data. Now even if donot populate the data it should atleast display the XML structure( with tags and all) properly. This i am checking in transaction SXMB_MONI.
But the XML structure is not generated.
even without filling the data... atleast the struture should appear right. Because thats happenin for another proxy...
<?xml version="1.0" encoding="utf-8" ?>
- <n0:CreatePO xmlns:n0="urn:infosys.com:sap_ecc:ordermanagement:creditcard:100" xmlns:prx="urn:sap.com:proxy:DM1:/1SAI/TASC659492AA7761791885C:701:2008/06/06">
<PONum />
<PODate />
<POType />
<POGrp />
Also, the error that appears
HTTP response contains status code 401 with the description Unauthorized
> even without filling the data... atleast the struture should appear right. Because thats happenin for another proxy...
This depends how you have maintained extended XML hanlding:
http://help.sap.com/saphelp_nwpi71/helpdata/EN/73/3f5c3c3906b006e10000000a11402f/frameset.htm
Per fault, empty values are ignored.
>
HTTP response contains status code 401 with the description Unauthorized
Maybe you try to fix this issue first.
When you copy an interface from standard and generate a proxy for this, it might happen that the structures are slightly different. So you might adapt your ABAP code according to this.
>We are thinking it could be cos of the data type mismatch i.e char(10) is matched with XSD:token
Check the generated ABAP structure for the requested data type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.