robertmeier83 Absent Member.
Absent Member.
214 views

SOAP Driver: Prevent IdM to add event-id to soap envelope

Dear community-users,

I use a xslt policy to make multiple soap queries to an application webservice. On an another driver, there
is no problem with doing that. But now I have an application, which seems to very strict on the validation of the soap message.

If I save the soap query in a variable, which I send to the destCommandProcessor, IdM adds automatically an event-id to the soap envelope.

For example (soap query in variable):

<xsl:variable name="testsoap">
<soapenv:Envelope xmlns:ser="https://....">
<soapenv:Header/>
<soapevn:Body>
....
</soapenv:Body>
</soapenv:Envelope>
<operation-data soap-action="https://...." />
</xsl:variable>
<xsl:variable name="doTestSoap" select="cmd:execute($destCommandProcessor,$testsoap)"/>

The request which IdM makes is modified. The event-id is added to the envelope:

<soapenv:Envelope event-id="0" xmlns:ser="https://....">
<soapenv:Header/>
<soapevn:Body>
....
</soapenv:Body>
</soapenv:Envelope>
...

The applications response:

<faultstring>A soap envelope cannot have non namespace qualified attributes</faultstring>

If I test the query with soapui without the event-id -> everything is ok!

Can anybody tell me, how to remove the automatic added event-id?

Thank you very much!

Bye Robert
Labels (1)
0 Likes
3 Replies
AutomaticReply Absent Member.
Absent Member.

Re: SOAP Driver: Prevent IdM to add event-id to soap envelope

robertmeier83,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

These forums are peer-to-peer, best effort, volunteer run and that if your issue
is urgent or not getting a response, you might try one of the following options:

- Visit https://www.microfocus.com/support-and-services and search the knowledgebase and/or check
all the other self support options and support programs available.
- Open a service request: https://www.microfocus.com/support
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.microfocus.com)
- You might consider hiring a local partner to assist you.
https://www.partnernetprogram.com/partnerfinder/find.html

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.microfocus.com/faq.php

Sometimes this automatic posting will alert someone that can respond.

If this is a reply to a duplicate posting or otherwise posted in error, please
ignore and accept our apologies and rest assured we will issue a stern reprimand
to our posting bot.

Good luck!

Your Micro Focus Forums Team
http://forums.microfocus.com



0 Likes
Knowledge Partner
Knowledge Partner

Re: SOAP Driver: Prevent IdM to add event-id to soap envelop

robertmeier83;2500041 wrote:
Dear community-users,

I use a xslt policy to make multiple soap queries to an application webservice. On an another driver, there
is no problem with doing that. But now I have an application, which seems to very strict on the validation of the soap message.

If I save the soap query in a variable, which I send to the destCommandProcessor, IdM adds automatically an event-id to the soap envelope.

For example (soap query in variable):

<xsl:variable name="testsoap">
<soapenv:Envelope xmlns:ser="https://....">
<soapenv:Header/>
<soapevn:Body>
....
</soapenv:Body>
</soapenv:Envelope>
<operation-data soap-action="https://...." />
</xsl:variable>
<xsl:variable name="doTestSoap" select="cmd:execute($destCommandProcessor,$testsoap)"/>

The request which IdM makes is modified. The event-id is added to the envelope:

<soapenv:Envelope event-id="0" xmlns:ser="https://....">
<soapenv:Header/>
<soapevn:Body>
....
</soapenv:Body>
</soapenv:Envelope>
...

The applications response:

<faultstring>A soap envelope cannot have non namespace qualified attributes</faultstring>

If I test the query with soapui without the event-id -> everything is ok!

Can anybody tell me, how to remove the automatic added event-id?

Thank you very much!

Bye Robert


I don't think you can do that, and I think the application is being unnecessarily picky there, but maybe you can get the application to accept it by adding a namespace, making it think that it's ok.
0 Likes
robertmeier83 Absent Member.
Absent Member.

Re: SOAP Driver: Prevent IdM to add event-id to soap envelop

Dear dgersic,

we have made a modification on the application side now, everything is working.

Thanks!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.