Newby WSDL question

R

Roberto

I've developed my first webservice but now the software house of the company
who need to consume the service ask me to insert the attribute
type="document" in the <soap:binding> and <soap12:bindig> tags, but I don't
know how to do.

As far as I know the WSDL is created by the webservice when it is called
with the parameter ?wsdl

Is there a way to change the way the wsdl is created?


TIA!

Bob
 
S

Scott M.

Very often, you can influence the WSDL that is generated by marking your web
service class with a compiler attribute. In VB .NET compiler attributes are
denoted by <> preceding a class or class member (such as the WebService
atttribute that is automatically added to your web service by Visual Studio
and the WebMethod attribute that is added prior to your web service's web
methods). In C#, attributes are denoted using square brackets [].

-Scott
 
R

Roberto

Thank you for point me in the right direction.

Scott M. said:
Very often, you can influence the WSDL that is generated by marking your
web service class with a compiler attribute. In VB .NET compiler
attributes are denoted by <> preceding a class or class member (such as
the WebService atttribute that is automatically added to your web service
by Visual Studio and the WebMethod attribute that is added prior to your
web service's web methods). In C#, attributes are denoted using square
brackets [].

-Scott

Roberto said:
I've developed my first webservice but now the software house of the
company who need to consume the service ask me to insert the attribute
type="document" in the <soap:binding> and <soap12:bindig> tags, but I
don't know how to do.

As far as I know the WSDL is created by the webservice when it is called
with the parameter ?wsdl

Is there a way to change the way the wsdl is created?


TIA!

Bob
 

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

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top