RE: SoapExtension execution on clientside
- From: "Hans" <Hans@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 01:41:03 -0700
Hi,
Ok.. It was a fairly general question the last one hard to answer so I have
a new one instead...
I created the reflector ond the importer... I put the dll in the gac.
I adjusted the .config file to reflect teh wersion and the token.
I browse to the ws and it works fine. I look (trough the browser) at thw
WSDL and it looks okay with the namespace for my extension...
In my world, the only thing I have to do is to add a webreference and all
should be fine...?
But NO.
I've got the message "Custom tool warning: At least one optional import
ServiceDescriptionFormatExtension has been ignored"
When I look at my WSDL file in the .Net enviroment my namespace is gone...
Why? What I'm I missing?
Anybody?
TIA
BR
Hans
"Hans" wrote:
> Hi
>
> Okay, I understand why i dont get any replays... RTFM...
>
> So I now created a SoapExtensionReflector and a SoapExtensionImporter class
> so the proxy can get hold of the info when its created.
>
> When I brows to the webservice it show up nice but when I want the WSDL I
> only got a Server Internal Error 500.
>
> Is there any good examples on how to do this (I cant find any...)?
>
> TIA
> BR
> Hans
>
> "Hans" wrote:
>
> > Hi,
> >
> > I have created an extension that only runs on the serverside and not on both
> > the client and the server side.
> >
> > I have to in the BeforeDeSerialize fix my dateTime so the deserialisation
> > dosent destroy my time when using timezone.
> > I do this by modifying the timezone info inthe XML stream befor
> > deserialization.
> >
> > I executing my webservice from a windows app.
> >
> > But I cant get it to run on the clientside.
> >
> >
> > I added the folowing to my web.config
> > <webServices>
> > <soapExtensionTypes>
> > <add type="ClassLibrary1.MyExtension,ClassLibrary1"
> > priority="1"
> > group="0" />
> > </soapExtensionTypes>
> > </webServices>
> >
> > I added the class(MyExtension) as a reference on the client.
> >
> > My reference.cs on the client side does not include any information on my
> > "MyExtension" class. Should it? How to get the proxy generator to discover
> > the extension?
> >
> >
> > The extension works well on the serverside.
> >
> > TIA for any help
> >
> > Br
> > Hans
> >
.
- References:
- SoapExtension execution on clientside
- From: Hans
- RE: SoapExtension execution on clientside
- From: Hans
- SoapExtension execution on clientside
- Prev by Date: Re: Generate Proxy or Server Side stub Problem
- Next by Date: custom datatypes
- Previous by thread: RE: SoapExtension execution on clientside
- Next by thread: Web Services as Data Access Layer ? (Your thoughts please)
- Index(es):
Relevant Pages
|