| Author |
Importing schema in the wsdl instead of embedding it
|
|
| biztalker 2005-03-18, 5:54 pm |
| Hi
An orchestration that uses a message with its type conforming to a certain
schema is exposed as a web service. Is there a way to have the schema
imported into the wsdl instead of embedding it?
| |
| Matt Milner 2005-03-18, 5:54 pm |
| The web service project that gets generated includes a sample wsdlextension
to do this. You'll need to open the solution, highlight the project and
click the "show all files" button in the solution explorer. Then include
the class in your project and build. I think there is also some
configuration in the web.config that you'll need to uncomment/modify to get
this working. It basically will pick up your schema file on the fly and use
it in the WSDL so as your schema changes, you don't have to keep updating
your web service.
Matt
"biztalker" <biztalker@discussions.microsoft.com> wrote in message
news:6354D0E3-88C5-40C8-A99D-1D39BB082F87@microsoft.com...
> Hi
>
> An orchestration that uses a message with its type conforming to a certain
> schema is exposed as a web service. Is there a way to have the schema
> imported into the wsdl instead of embedding it?
| |
| biztalker 2005-03-21, 5:59 pm |
| Thanks Matt.
"Matt Milner" wrote:
> The web service project that gets generated includes a sample wsdlextension
> to do this. You'll need to open the solution, highlight the project and
> click the "show all files" button in the solution explorer. Then include
> the class in your project and build. I think there is also some
> configuration in the web.config that you'll need to uncomment/modify to get
> this working. It basically will pick up your schema file on the fly and use
> it in the WSDL so as your schema changes, you don't have to keep updating
> your web service.
>
> Matt
>
>
> "biztalker" <biztalker@discussions.microsoft.com> wrote in message
> news:6354D0E3-88C5-40C8-A99D-1D39BB082F87@microsoft.com...
>
>
>
| |
| biztalker 2005-03-21, 5:59 pm |
| Is it not possible to have just an "import" statement in the WSDL, and not
the schema embedded? Because from what I gather, wsdlextension will end up
incorporating the schema in the wsdl.
"Matt Milner" wrote:
> The web service project that gets generated includes a sample wsdlextension
> to do this. You'll need to open the solution, highlight the project and
> click the "show all files" button in the solution explorer. Then include
> the class in your project and build. I think there is also some
> configuration in the web.config that you'll need to uncomment/modify to get
> this working. It basically will pick up your schema file on the fly and use
> it in the WSDL so as your schema changes, you don't have to keep updating
> your web service.
>
> Matt
>
>
> "biztalker" <biztalker@discussions.microsoft.com> wrote in message
> news:6354D0E3-88C5-40C8-A99D-1D39BB082F87@microsoft.com...
>
>
>
|
|
|
|