Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

WSE 3.0 encoding XML return type?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
IceCactus - 19 Oct 2005 17:11 GMT
Hi,

I have an object that implements IXmlSerializable. This object works
wonderfully over regular web services. However, when i enable WSE 3.0, my
object no longer works. When WSE 3.0 is enabled, it seems to be encoding the
XML my object returns through the writexml method. I have no idea why. Its
not the filters becuase its encoded before and after it goes through the WSE
filters.

Here is a sample from the trace file..as you can see its like HTML encoding
the < and > characters.

 <outputMessage utc="10/19/2005 3:58:00 PM">
   <processingStep description="Unprocessed message">
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
         <GetAddressEntitiesResponse
xmlns="http://namespace.com/xml/serialization">
           <GetAddressEntitiesResult><CatalogEntity
Id="1"><IsNew>False</IsNew><EntityCollectionReference
PropertyName="Category"><Category><Entities
/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryToUse
Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"
/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference
PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory><Entities
/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactoryToUse
Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"
/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollectionReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><CurrentValue>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></CatalogTypeId><Name><CurrentValue>
Supply Catalog</CurrentValue><DbValue> Supply
Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><Description><CurrentValue>Catalog
of  parts.</CurrentValue><DbValue>Catalog of
parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Description><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Display><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</CurrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
/></CatalogEntity></GetAddressEntitiesResult>
         </GetAddressEntitiesResponse>
       </soap:Body>
     </soap:Envelope>
   </processingStep>
   <processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
   <processingStep description="Exited SOAP filter
Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
   <processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
   <processingStep description="Exited SOAP filter
Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
   <processingStep description="Processed message">
     <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
       <soap:Header>
         
<wsa:Action>http://rivetware.com/xml/serialization/GetAddressEntitiesResponse</wsa:Action>
         
<wsa:MessageID>urn:uuid:c299397b-7295-417a-aa33-47d8253afd43</wsa:MessageID>
         
<wsa:RelatesTo>urn:uuid:cb9e4f23-2e6a-43fb-a8b0-1bb04a25ba75</wsa:RelatesTo>
         
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
         <wsse:Security>
           <wsu:Timestamp
wsu:Id="Timestamp-aded6b09-5a24-4f9f-8107-bc11210ae9ad">
             <wsu:Created>2005-10-19T15:58:00Z</wsu:Created>
             <wsu:Expires>2005-10-19T16:03:00Z</wsu:Expires>
           </wsu:Timestamp>
         </wsse:Security>
       </soap:Header>
       <soap:Body>
         <GetAddressEntitiesResponse
xmlns="http://namespace.com/xml/serialization">
           <GetAddressEntitiesResult><CatalogEntity
Id="1"><IsNew>False</IsNew><EntityCollectionReference
PropertyName="Category"><Category><Entities
/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryToUse
Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"
/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference
PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory><Entities
/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactoryToUse
Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"
/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollectionReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><CurrentValue>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></CatalogTypeId><Name><CurrentValue>
Supply Catalog</CurrentValue><DbValue> Supply
Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><Description><CurrentValue>Catalog
of  parts.</CurrentValue><DbValue>Catalog of  
parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Description><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Display><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</CurrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
/></CatalogEntity></GetAddressEntitiesResult>
         </GetAddressEntitiesResponse>
       </soap:Body>
     </soap:Envelope>
   </processingStep>
 </outputMessage>
IceCactus - 19 Oct 2005 17:25 GMT
Sorry, when i pasted the trace, it looks correct. But its not. When you view
the trace file, each and every < and > character is encoded.

> Hi,
>
[quoted text clipped - 31 lines]
> Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><Description><CurrentValue>Catalog
> of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Description><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Display><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</CurrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
> /></CatalogEntity></GetAddressEntitiesResult>
>           </GetAddressEntitiesResponse>
[quoted text clipped - 51 lines]
> Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><Description><CurrentValue>Catalog
> of  parts.</CurrentValue><DbValue>Catalog of  

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Description><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Display><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</CurrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
> /></CatalogEntity></GetAddressEntitiesResult>
>           </GetAddressEntitiesResponse>
>         </soap:Body>
>       </soap:Envelope>
>     </processingStep>
>   </outputMessage>
Steven Cheng[MSFT] - 20 Oct 2005 06:42 GMT
Hi IceCactus,

Welcome to MSDN newsgroup.
From your description, you are using the .NET 2.0 enviornement to building
a certain asp.net webservice, the webservice 's webmethod will return a
custom object which has implemented the IXmlSerizliable interface. It works
well normally however, you get incorrectly encoded message after you turn
on WSE3.0 for that webservice, yes?

As for the webservice, do you just turn on the WSE3.0 or have you enabled
some certain turnkey security assersions? What's the result if you just
simply turn on the WSE3.0 and dosn't apply any further security assersions?
You can try this through a very simple webmethod which just return a
simple Custom object(implement IXmlSerialiable).

If still get the error, you can post me the code snippet so that I can do
some local testing.

Thanks,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
Thread-Topic: WSE 3.0 encoding XML return type?
thread-index: AcXUyakgLrTT41DTS2CB4tjQKPkeBw==
X-WBNR-Posting-Host: 216.19.46.52
From: =?Utf-8?B?SWNlQ2FjdHVz?= <IceCactus@nospam.nospam>
References:  <375B894A-194C-451C-8E59-551E08B6A239@microsoft.com>
Subject: RE: WSE 3.0 encoding XML return type?
Date: Wed, 19 Oct 2005 09:25:04 -0700
Lines: 105
Message-ID: <BF1D1A3A-3528-4D84-A002-6344B124D035@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:5133
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

Sorry, when i pasted the trace, it looks correct. But its not. When you
view
the trace file, each and every < and > character is encoded.

> Hi,
>
[quoted text clipped - 19 lines]
> Id="1"><IsNew>False</IsNew><EntityCollectionReference
> PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
oUse
> Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
> PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
<Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
ToUse
> Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
> PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti
onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I
sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current
Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
l>False</IsNull></CatalogTypeId><Name><CurrentValue>
> Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
escription><CurrentValue>Catalog
> of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript
ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue
><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:
00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00
</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ
ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<
/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu
rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is
Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00
</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange
d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal
ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00
:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
[quoted text clipped - 16 lines]
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
ty-secext-1.0.xsd"

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd">
>         <soap:Header>
>          

<wsa:Action>http://rivetware.com/xml/serialization/GetAddressEntitiesRespons
e</wsa:Action>
>          

<wsa:MessageID>urn:uuid:c299397b-7295-417a-aa33-47d8253afd43</wsa:MessageID>
>          

<wsa:RelatesTo>urn:uuid:cb9e4f23-2e6a-43fb-a8b0-1bb04a25ba75</wsa:RelatesTo>
>          

<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa
:To>
>           <wsse:Security>
[quoted text clipped - 11 lines]
> Id="1"><IsNew>False</IsNew><EntityCollectionReference
> PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
oUse
> Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
> PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
<Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
ToUse
> Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
> PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti
onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I
sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current
Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
l>False</IsNull></CatalogTypeId><Name><CurrentValue>
> Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
escription><CurrentValue>Catalog
> of  parts.</CurrentValue><DbValue>Catalog of  

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript
ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue
><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:
00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00
</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ
ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<
/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu
rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is
Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00
</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange
d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal
ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00
:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
[quoted text clipped - 4 lines]
>     </processingStep>
>   </outputMessage>
Mark Fussell - 20 Oct 2005 07:10 GMT
Can you add more details by what you means "encoding your object"
It is hard to tell much from this trace.
Can you post the code for your IXmlSerialiable type?

Thanks. Mark Fussell
WSE Program Manager

> Sorry, when i pasted the trace, it looks correct. But its not. When you view
> the trace file, each and every < and > character is encoded.
[quoted text clipped - 34 lines]
> > Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><Description><CurrentValue>Catalog
> > of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Description><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Display><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</CurrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
> > /></CatalogEntity></GetAddressEntitiesResult>
> >           </GetAddressEntitiesResponse>
[quoted text clipped - 51 lines]
> > Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><Description><CurrentValue>Catalog
> > of  parts.</CurrentValue><DbValue>Catalog of  

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Description><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Display><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</CurrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentValue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
> > /></CatalogEntity></GetAddressEntitiesResult>
> >           </GetAddressEntitiesResponse>
> >         </soap:Body>
> >       </soap:Envelope>
> >     </processingStep>
> >   </outputMessage>
Steven Cheng[MSFT] - 20 Oct 2005 07:33 GMT
Hi Mark,

You can get the problem from IceCactus's seond message,
==========
Sorry, when i pasted the trace, it looks correct. But its not. When you
view
the trace file, each and every < and > character is encoded.
==========

I think IceCactus means the < and > is encoded as  &xx; style?

Regards,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
Thread-Topic: WSE 3.0 encoding XML return type?
thread-index: AcXVPQ3NFM+FMWetRHaXBmf77PAFXA==
X-WBNR-Posting-Host: 71.112.87.114
From: =?Utf-8?B?TWFyayBGdXNzZWxs?= <MarkFussell@discussions.microsoft.com>
References:  <375B894A-194C-451C-8E59-551E08B6A239@microsoft.com>
<BF1D1A3A-3528-4D84-A002-6344B124D035@microsoft.com>
Subject: RE: WSE 3.0 encoding XML return type?
Date: Wed, 19 Oct 2005 23:11:05 -0700
Lines: 116
Message-ID: <CDD97697-2CD3-41AD-BD00-9A59175BB0E9@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:5139
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

Can you add more details by what you means "encoding your object"
It is hard to tell much from this trace.
Can you post the code for your IXmlSerialiable type?

Thanks. Mark Fussell
WSE Program Manager

"IceCactus" wrote:

> Sorry, when i pasted the trace, it looks correct. But its not. When you view
> the trace file, each and every < and > character is encoded.
[quoted text clipped - 22 lines]
> > Id="1"><IsNew>False</IsNew><EntityCollectionReference
> > PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
oUse
> > Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
> > PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
<Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
ToUse
> > Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
> > PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti
onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I
sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current
Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
l>False</IsNull></CatalogTypeId><Name><CurrentValue>
> > Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
escription><CurrentValue>Catalog
> > of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript
ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue
><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:
00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00
</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ
ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<
/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu
rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is
Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00
</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange
d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal
ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00
:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
[quoted text clipped - 4 lines]
> >     </processingStep>
> >     <processingStep description="Entering SOAP filter

Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
> >     <processingStep description="Exited SOAP filter

Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
> >     <processingStep description="Entering SOAP filter

Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
> >     <processingStep description="Exited SOAP filter

Microsoft.Web.Services3.Security.Wse2PipelinePolicy+LegacyFilterWrapper" />
> >     <processingStep description="Processed message">
> >       <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
ty-secext-1.0.xsd"

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
y-utility-1.0.xsd">
> >         <soap:Header>
> >          

<wsa:Action>http://rivetware.com/xml/serialization/GetAddressEntitiesRespons
e</wsa:Action>
> >          

<wsa:MessageID>urn:uuid:c299397b-7295-417a-aa33-47d8253afd43</wsa:MessageID>
> >          

<wsa:RelatesTo>urn:uuid:cb9e4f23-2e6a-43fb-a8b0-1bb04a25ba75</wsa:RelatesTo>
> >          

<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa
:To>
> >           <wsse:Security>
[quoted text clipped - 11 lines]
> > Id="1"><IsNew>False</IsNew><EntityCollectionReference
> > PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
oUse
> > Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
> > PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
<Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
ToUse
> > Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
> > PublicKeyToken=null" Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti
onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I
sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current
Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
l>False</IsNull></CatalogTypeId><Name><CurrentValue>
> > Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
escription><CurrentValue>Catalog
> > of  parts.</CurrentValue><DbValue>Catalog of  

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript
ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue
><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:
00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00
</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ
ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<
/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu
rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is
Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00
</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange
d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal
ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00
:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
></LastModified></Fields><IsDirty>False</IsDirty><EntityState>Fetched</EntityState><SavedFieldSets
[quoted text clipped - 4 lines]
> >     </processingStep>
> >   </outputMessage>
IceCactus - 20 Oct 2005 23:41 GMT
I think IceCactus means the < and > is encoded as  &xx; style?

That is correct. Your assumption on your first reply is also correct.

my WSE config has NO security solution specified. I just enabled WSE (using
the util), and the trace option.

I do have some more info however. It appears whats cuasing this problem is
using the writer.writeraw() method in my IXmlSerializable implmentation. If
take the XML string, and use writer.writenode() WSE works as expected. So its
something to do with the writer.writeraw() method.

You can do the following as a test (view your trace file after implmenting
it each way)

void IXmlSerializable.WriteXml(XmlWriter writer)
{
writer.WriteRaw("<name>Ryan</name>");
}

and

void IXmlSerializable.WriteXml(XmlWriter writer)
{
writer.WriteElementString("name", "Ryan");
}

Thanks Ryan

> Hi Mark,
>
[quoted text clipped - 240 lines]
> > >     </processingStep>
> > >   </outputMessage>
Steven Cheng[MSFT] - 21 Oct 2005 11:55 GMT
Thanks Ryan,

I think writeRaw should be the cause.
Would you send me a complete test project so that I can test in my
enviornment? Just a simple one which is able to reproduce the problem.
Thanks,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
Thread-Topic: WSE 3.0 encoding XML return type?
thread-index: AcXVx1mGrHz+FhVpRi+giXIPMMJEWQ==
X-WBNR-Posting-Host: 216.19.46.52
From: =?Utf-8?B?SWNlQ2FjdHVz?= <IceCactus@nospam.nospam>
References:  <375B894A-194C-451C-8E59-551E08B6A239@microsoft.com>
<BF1D1A3A-3528-4D84-A002-6344B124D035@microsoft.com>
<CDD97697-2CD3-41AD-BD00-9A59175BB0E9@microsoft.com>
<6jsM6AU1FHA.3104@TK2MSFTNGXA01.phx.gbl>
Subject: RE: WSE 3.0 encoding XML return type?
Date: Thu, 20 Oct 2005 15:41:02 -0700
Lines: 286
Message-ID: <FCDCB678-6B50-42ED-BEB5-2F1A827A743A@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:5148
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

I think IceCactus means the < and > is encoded as  &xx; style?

That is correct. Your assumption on your first reply is also correct.

my WSE config has NO security solution specified. I just enabled WSE (using
the util), and the trace option.

I do have some more info however. It appears whats cuasing this problem is
using the writer.writeraw() method in my IXmlSerializable implmentation. If
take the XML string, and use writer.writenode() WSE works as expected. So
its
something to do with the writer.writeraw() method.

You can do the following as a test (view your trace file after implmenting
it each way)

void IXmlSerializable.WriteXml(XmlWriter writer)
{
writer.WriteRaw("<name>Ryan</name>");
}

and

void IXmlSerializable.WriteXml(XmlWriter writer)
{
writer.WriteElementString("name", "Ryan");
}

Thanks Ryan

"Steven Cheng[MSFT]" wrote:

> Hi Mark,
>
[quoted text clipped - 86 lines]
> > > Id="1"><IsNew>False</IsNew><EntityCollectionReference
> > > PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
> oUse
> > > Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
> > > PublicKeyToken=null"
> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
> 3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
> <Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
> ToUse
> > > Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
> > > PublicKeyToken=null"
> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti

onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I

sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current

Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
> l>False</IsNull></CatalogTypeId><Name><CurrentValue>
> > > Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
> escription><CurrentValue>Catalog
> > > of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript

ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue

><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsCha

nged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:

00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00

</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ

ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<

/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu

rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is

Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00

</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange

d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal

ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00

:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
>
[quoted text clipped - 23 lines]
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
> ty-secext-1.0.xsd"

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
> y-utility-1.0.xsd">
> > >         <soap:Header>
> > >          

<wsa:Action>http://rivetware.com/xml/serialization/GetAddressEntitiesRespons
> e</wsa:Action>
> > >          

<wsa:MessageID>urn:uuid:c299397b-7295-417a-aa33-47d8253afd43</wsa:MessageID>
> > >          

<wsa:RelatesTo>urn:uuid:cb9e4f23-2e6a-43fb-a8b0-1bb04a25ba75</wsa:RelatesTo>
> > >          

<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa
> :To>
> > >           <wsse:Security>
[quoted text clipped - 11 lines]
> > > Id="1"><IsNew>False</IsNew><EntityCollectionReference
> > > PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
> oUse
> > > Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
> > > PublicKeyToken=null"
> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
> 3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
> <Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
> ToUse
> > > Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
> > > PublicKeyToken=null"
> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti

onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I

sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current

Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
> l>False</IsNull></CatalogTypeId><Name><CurrentValue>
> > > Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
> escription><CurrentValue>Catalog
> > > of  parts.</CurrentValue><DbValue>Catalog of  

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript

ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue

><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsCha

nged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:

00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00

</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ

ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<

/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu

rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is

Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00

</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange

d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal

ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00

:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
>
[quoted text clipped - 6 lines]
> > >     </processingStep>
> > >   </outputMessage>
IceCactus - 21 Oct 2005 18:49 GMT
Sure,

could you provide me with your email though.
stcheng@online.microsoft.com doesnt work. It gets returned with a DNS error.

Ryan

> Thanks Ryan,
>
[quoted text clipped - 356 lines]
>> > >     </processingStep>
>> > >   </outputMessage>
Steven Cheng[MSFT] - 24 Oct 2005 12:39 GMT
Hi Ryan,

You can send me through the address by removing the "online"

Thanks,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "IceCactus" <nospam@hotmail.com>
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
Subject: Re: WSE 3.0 encoding XML return type?
Date: Fri, 21 Oct 2005 10:49:04 -0700
Organization: Disorganized groupie
Message-ID: <1129920432.776138@news.commspeed.net>
References: <375B894A-194C-451C-8E59-551E08B6A239@microsoft.com>
<BF1D1A3A-3528-4D84-A002-6344B124D035@microsoft.com>
<CDD97697-2CD3-41AD-BD00-9A59175BB0E9@microsoft.com>
<6jsM6AU1FHA.3104@TK2MSFTNGXA01.phx.gbl>
<FCDCB678-6B50-42ED-BEB5-2F1A827A743A@microsoft.com>
<VJQ8#3i1FHA.1172@TK2MSFTNGXA01.phx.gbl>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Cache-Post-Path:
news.commspeed.net!unknown@mmds-216-19-46-52.sqpk.az.commspeed.net
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
X-Complaints-To: abuse@supernews.com
Lines: 406
Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!newshub.sdsu.edu!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1
.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-10!sn-xit-06!sn-post-01
!supernews.com!corp.supernews.com!not-for-mail
Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:5153
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

Sure,

could you provide me with your email though.
stcheng@online.microsoft.com doesnt work. It gets returned with a DNS error.

Ryan

> Thanks Ryan,
>
[quoted text clipped - 162 lines]
>> > > Id="1"><IsNew>False</IsNew><EntityCollectionReference
>> > > PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
>> oUse
>> > > Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
>> > > PublicKeyToken=null"
>> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
>> 3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
>> <Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
>> ToUse
>> > > Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
>> > > PublicKeyToken=null"
>> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti

onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I

sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current

Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
>> l>False</IsNull></CatalogTypeId><Name><CurrentValue>
>> > > Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
>> escription><CurrentValue>Catalog
>> > > of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript

ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue

>><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsCha

nged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:

00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00

</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ

ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<

/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu

rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is

Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00

</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange

d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal

ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00

:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
>>
[quoted text clipped - 27 lines]
>> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> > > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecuri
>> ty-secext-1.0.xsd"

xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurit
>> y-utility-1.0.xsd">
>> > >         <soap:Header>

<wsa:Action>http://rivetware.com/xml/serialization/GetAddressEntitiesRespons
>> e</wsa:Action>

<wsa:MessageID>urn:uuid:c299397b-7295-417a-aa33-47d8253afd43</wsa:MessageID>

<wsa:RelatesTo>urn:uuid:cb9e4f23-2e6a-43fb-a8b0-1bb04a25ba75</wsa:RelatesTo>

<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa
>> :To>
>> > >           <wsse:Security>
[quoted text clipped - 11 lines]
>> > > Id="1"><IsNew>False</IsNew><EntityCollectionReference
>> > > PropertyName="Category"><Category><Entities

/><AllowRemove>False</AllowRemove><AllowEdit>True</AllowEdit><EntityFactoryT
>> oUse
>> > > Assembly="namespace, Version=1.0.2118.16128, Culture=neutral,
>> > > PublicKeyToken=null"
>> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>True</AllowNew></Category></EntityCollectionReference><ObjectID>
>> 3d674e6b-8ea3-442c-bc80-f814acf74f29</ObjectID><EntityCollectionReference

PropertyName="CategoryCollectionViaCategory"><CategoryCollectionViaCategory>
>> <Entities

/><AllowRemove>False</AllowRemove><AllowEdit>False</AllowEdit><EntityFactory
>> ToUse
>> > > Assembly="Rivetware, Version=1.0.2118.16128, Culture=neutral,
>> > > PublicKeyToken=null"
>> Type="namespace.FactoryClasses.CategoryEntityFactory"

/><AllowNew>False</AllowNew></CategoryCollectionViaCategory></EntityCollecti

onReference><Fields><Id><CurrentValue>1</CurrentValue><DbValue>1</DbValue><I

sChanged>False</IsChanged><IsNull>False</IsNull></Id><CatalogTypeId><Current

Value>1</CurrentValue><DbValue>1</DbValue><IsChanged>False</IsChanged><IsNul
>> l>False</IsNull></CatalogTypeId><Name><CurrentValue>
>> > > Supply Catalog</CurrentValue><DbValue> Supply

Catalog</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Name><D
>> escription><CurrentValue>Catalog
>> > > of  parts.</CurrentValue><DbValue>Catalog of

parts.</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></Descript

ion><IntroDate><CurrentValue>2005-07-04T00:00:00.0000000-07:00</CurrentValue

>><DbValue>2005-07-04T00:00:00.0000000-07:00</DbValue><IsChanged>False</IsCha

nged><IsNull>False</IsNull></IntroDate><EndDate><CurrentValue>2006-07-04T00:

00:00.0000000-07:00</CurrentValue><DbValue>2006-07-04T00:00:00.0000000-07:00

</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull></EndDate><Displ

ay><CurrentValue>True</CurrentValue><DbValue>True</DbValue><IsChanged>False<

/IsChanged><IsNull>False</IsNull></Display><DisplayOrder><CurrentValue>0</Cu

rrentValue><DbValue>0</DbValue><IsChanged>False</IsChanged><IsNull>False</Is

Null></DisplayOrder><Created><CurrentValue>2005-07-04T12:00:00.0000000-07:00

</CurrentValue><DbValue>2005-07-04T12:00:00.0000000-07:00</DbValue><IsChange

d>False</IsChanged><IsNull>False</IsNull></Created><LastModified><CurrentVal

ue>2005-07-04T12:00:00.0000000-07:00</CurrentValue><DbValue>2005-07-04T12:00

:00.0000000-07:00</DbValue><IsChanged>False</IsChanged><IsNull>False</IsNull
>>
[quoted text clipped - 6 lines]
>> > >     </processingStep>
>> > >   </outputMessage>
IceCactus - 20 Oct 2005 23:43 GMT
Also, only the RETURN object is encoded. NOT the entire XML message. Just
wanted to clairfy that.

> Hi Mark,
>
[quoted text clipped - 240 lines]
> > >     </processingStep>
> > >   </outputMessage>

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.