on 11-17-2011 1:51 PM
Hello Friends,
I have got a wsdl, which I need to consume for inbout syn interface.
The problem is wsdl req and response str contains elements with type arrayType.
I have imported and activated the wsdl, though wsdl is activated without error but fields are shown with red.
What I can do to fix this issue `?
Thanks and regards,
Hi Ali, could you test with this mapping:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ProductsResponse xmlns:ns0="XXXXX">
<ns0:Consolidado_De_ProductosResult> -
>*Estruct RFC**
<ns0:PRODUCTS> // this type is Array -
> Map constant [] to---> PRODUCTS
<ns0:PRODUCT> //this data type is 0..unbounded----
> Map to -
> PRODUCT
................ ..........
.............. ........
............
</ns0:ProductsResponse>
Regards!
Edited by: ecruz2010 on Nov 17, 2011 3:11 PM
Edited by: ecruz2010 on Nov 17, 2011 3:12 PM
Edited by: ecruz2010 on Nov 17, 2011 3:13 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> I have imported and activated the wsdl, though wsdl is activated without error but fields are shown with red.
where do you see this fields in RED? If it is in message mapping, then it could be due to incomplete mapping of those fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Suggestion:
WSDL pretty much supports array of custom objects type or java lists or String arrays or so. I think WSDL has some missing reference elements pertaining to the array object. Please import the WSDL in XMLSPY and validate the WSDL. If XMLSpy validates as successful file then there is some issue in importing the file as external definition. you might want to reimport again after deleting the old one.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.