cancel
Showing results for 
Search instead for 
Did you mean: 

Namespace problem

Former Member
0 Kudos

Hi,

My scenario is connecting to web service , my XML structure as follows:

<p1>

<p2>

<p3>

<Field name="xxx" value="yyyy" />

<Field name="xxx" value="yyyy" />

</p3>

</p2>

</p1>

Can I include the target namespace for the Node P1? like

<P1 xmlns: "http:
abc.com">

I Used the XSD structure in the IR, I can include the Namespace in XSD , but there namespace doesn't exceed 60 characters. but my web service namespace is of more than 60 chars.

Please let me know if we can achieve this in Receiver SOAP adapter.

Thanks

bpr

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Its solved

Former Member
0 Kudos

how did u solve? using mapping as said by sunil?

Former Member
0 Kudos

Hi

Yes it is the limit. You cannot have a namespace with more than 60 characters. We cannot tweak more than 60. May be next version of XI can overcome this.

sothat the maximum permmisible character in namespace is 60.

in the sender SOAP adapter communication channel, in the default XI parameters, specify the name of the Interface name and Interface namespace to which data is being sent.

Regards,

surya

Former Member
0 Kudos

Hi

Yes it is the limit. You cannot have a namespace with more than 60 characters. you can't overcome this.

Regard's

Chetan Ahuja

Former Member
0 Kudos

Hi Chetan

Thanks for your note.

Ok, but my web service is expecting the the namespace to be included in the root node <P1>, is there anyway to achieve this?

Regards

B

sunil_singh13
Active Contributor
0 Kudos

Hi BPR,

It is Possible to send the Namespace to web service with more than 60character for that you have to use

java mapping before you call your web service.

In that modifeid only namespace name as required.

and then once the response is back again use Java mapping to cahnge it less than 60 char..

Thanks

Sunil Singh

Former Member
0 Kudos

Thanks Sunil. Do you have any code for that and where I can insert this piece of code?

Thanks

B