RE: SoapExtension execution on clientside



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
> >
.



Relevant Pages

  • TLS and Usage of "trusted_ca_keys" by server
    ... section 3.4 says that a constrained client may send an extension ... of type "trusted_ca_keys" to the server to indicate the CAs that it knows ... This allows the server to implicitly select a private key and matching ...
    (sci.crypt)
  • Re: Emailing MP3s
    ... This MP3 was 2.4mb, but I don't think size is a factor. ... If the attachment extension is changed there, it has nothing to do with the ... email client. ... Then the problem is very likely with the mail server used by that one ...
    (microsoft.public.windowsxp.general)
  • Re: Mulberry gone, now what?
    ... All IMAP implementations (client or server) are supposed to implement the IMAP base specification, and work with other implementations that also implement the base specification. ... Extensions exist as a matter of convenience; typically, to make it possible for a client to perform a particular task faster/more efficiently than if the extension was not present. ...
    (comp.mail.imap)
  • Re: Client-Server Requirement
    ... My clint machine and the server ... My user name is added in the tapi server admin ... I mean how can I find the line in a client ... Let me explain my case for two PABX extension. ...
    (microsoft.public.win32.programmer.tapi)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)