on 11-04-2015 6:05 AM
Hi Everyone,
I have to map 2 messages to an idoc. One message is the header and the other is Line item. Two WSDL has been provided to me by the salesforce team.
Both the WSDLs are in synchronous format. Meaning they contain both the notificationsRequest and notificationsResponse.
Now When i load the 2 notificationsRequest in Source side of the message mapping. Both the structures are reflecting as either header or lineitem.
i am unable to load both the structures.
Is it because both the External message have the same name notificationsRequest ? The data structure is different inside both the EDs. Has anyone experienced this issue ? Is there any work around to this?
Thanks,
Nirmal.
Nirmal,
Please try creating two different message types(namely Header, Line) using these external definitions and in message mapping use message types instead of EDs.
Hope this helps !
Cheers
Bibek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bibek,
I had posted my content to link https://scn.sap.com/thread/3866250
but giving "Access to this place or content is restricted. If you think this is a mistake, please contact your administrator or the person who directed you here."
Dont know y but can someone help me here please as requirement is very urgent.
Hi Tomar,
Tried accessing your post: https://scn.sap.com/thread/3866250 but getting an error message. I would suggest to check your profile, may be the post is up for moderation before being published. This should give you an idea.
Meanwhile please ask a moderator about your post (if above is the case), else create a fresh one.
Thanks
Bibek
Hi All,
I have one requirement for a sync scenario in which for below fault message we have 2 external defination coming whenever there is a wrong data request for a WS.
so can any one help me ,how we can handle 2 ext def in message mapping for same target fault message typ.
Also i tried to add two ext defination in signature tab but itz not working as at a time we can have only one source external def.
PFB screenshot for reference:-
some logic to change this to ServiceError( 2nd external Definition Name) in case 2nd ext definition is send and rest the target structure is same.
Its just that, we are getting two types of external definition so the one which is there in message mapping(selected) runs successfully for other it gives us mapping error.
Help me with the logic to handle such kind of situation
Your quick response shall be highly appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nirmal,
May be the best solution is to do two scenarios SOAP to Proxy, In the proxy code when you have the second message you could generate the IDOC. In this way you shoul store the first message on a Z table and when second message arrives you read the first message and with the second you will generate the IDOC from the proxy code, what do you think?
Another thing, and per the name of the WSDLs, are you sure that you are really getting two messages?, it seems the notificationsRequest will be used as outbound message for you sender interface and the notificationsResponse as the inbound message for you sender interface, may be im wrong but you should clarify this.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nirmal,
AFAIK - you can only load on message/structure to the source side of message mapping. in your case you need to create two message mapping for two structure.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.