on 03-22-2011 10:38 AM
Hallo Community,
I'am quite new to PI / XI and I am facing the following issue in my scenario.
I need to set a dynamic URL for my SOAP Receiver Channel.
So i did a Dynamic Configuration in my Message Mapping.
This seems to work because the result int the XML Monitoring looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Eingangs-Message
-->
- <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Record namespace="http://sap.com/xi/XI/System/SOAP" name="TServerLocation"><a href="https://cs2-api.salesforce.com/services/Soap/c/21.0/00DR0000000G28q/0DFR0000000CeT2" TARGET="test_blank">https://cs2-api.salesforce.com/services/Soap/c/21.0/00DR0000000G28q/0DFR0000000CeT2</a></SAP:Record>
</SAP:DynamicConfiguration>
But later I'am getting this error:
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.ConnectException: Connection refused: connect</SAP:AdditionalText>
If i set the URL manually in the SOAP Channel it all works just great.
Can i check the Target URL of the Message where it actually was sent to?
By the way.In the SOAP Channel I set the Target URL to "http://" (because its required)
and checked the "Use Adapter-Specific Message Attributes"
Thanks for your time.
Hello,
If you are using User Authentication, then you need to place them in the Authentication Keys under the Advanced tab and call the auth keys via dynamic configuration.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Mar 22, 2011 11:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Mark,
i do not need any further Authentication. The Request gets Authenticated by the URL (which is dynamic) and a Session Id which i generate dynamically in the SOAP Header.
And it all works fine if i set the URL manually in the Channel and remove "Use Adapter-Specific Attributes".
So i guess the Problem lies within the Dynamic Configuration or am I wrong?
Thanks for your help.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.