473,322 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

SoapExtension execution on clientside

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

Nov 23 '05 #1
4 4753
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

Nov 23 '05 #2
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

Nov 23 '05 #3
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

Nov 23 '05 #4
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

Nov 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: fred carter | last post by:
I would like to be able to set an arbitrary http header from a SoapExtension when said extension is acting on behalf of a client. I have not seen a means for doing so. For incoming messages or...
1
by: Steven.Dahlin | last post by:
I am trying to execute a soap extension with a WinForm client accessing a Web Service. I have created a application configuration which includes the following: <configuration> <system.web>...
3
by: Trevor Pinkney | last post by:
Hi, Is it possible to reference a custom SoapExtension instance from within a WebMethod? I have a SoapExtension used by several web-services for generic logging. The SoapExtension logs the...
1
by: Dave Buxbaum via .NET 247 | last post by:
Hi, I have a SoapExtension that adds a SoapHeader to all outboundmessages. This works fine, but I don't see a way to control thenamespace of the emitted header. Here is what I'm doing: I have...
0
by: Hans | last post by:
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...
2
by: lprisr | last post by:
Hi, I have double byte characters in the content that I am returning using Web Services. However, the encoding in the xml file returned by Web Services is utf-8 and I am unable to read the...
0
by: Symon | last post by:
I've got a web service project that was built under VS 2003 which has a SoapExtension in the project. The SoapExtension is registered in the <soapExtensionTypes> element of the web.config and has...
0
by: thatsMaBoy | last post by:
Hi, I have a VB.NET 2003 web service client (EXE) that makes use of a SOAPExtension class. The client calls a web service that returns a SOAP message containing MIME encoded files. The...
10
by: Andy Kendall | last post by:
I have a problem accessing my custom SoapHeader from a SoapExtension. My extension has no compile time reference to the class derived from SoapHeader, so how can cast it into a SoapHeader of the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.