How to replace the SoapIn and SoapOut suffix

A

alex

Hello,

Is there a way to replace the "SoapIn" and "SoapOut" suffix added to
the message name attribute?

For example,

I would like to change
<message name="CreateAccountSoapIn">
<part name="parameters" element="s0:CreateAccountRequest"/>
</message>
...

TO
...
<message name="CreateAccountInput">
<part name="parameters" element="s0:CreateAccountRequest"/>
</message>
...

Why do I need to this? The customer is forcing me to do this because
that's what his Java's WSDL tools produced and I have no way out..

I already visited the link below looking for an attribute that allows
me to do this.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebsrv/html/insidewsdl.asp
Any help, links, comments, or jokes are welcome.

Thanks
 
M

Mujtaba Syed

Hi Alex:

I don't think you can change the protocol part (SoapIn, SoapOut) of a
message name. But you can change the message name part (for instance, you
can change CreateAccountSoapIn to CreatAcSoapIn) by decorating your web
method with the MessageName attribute.

This looks like a great (and one of only few) opportunity to use XSLT !

Thanks,
Mujtaba.
 
D

Dilip Krishnan

Hello Alex,
What the message name attribute is, is that its just a name for the message
definition that is refered later on on in your operation definition in the
wsdl. The actual name doesnt make a difference. It could be CreateAccountFooIn
and ...FooOut. It shouldnt cause any interoperability issues either way.

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top