Click here to Skip to main content
15,890,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Enum and generics Pin
N a v a n e e t h8-Jul-08 15:47
N a v a n e e t h8-Jul-08 15:47 
GeneralRe: Enum and generics Pin
PIEBALDconsult8-Jul-08 17:58
mvePIEBALDconsult8-Jul-08 17:58 
GeneralRe: Enum and generics Pin
N a v a n e e t h8-Jul-08 19:05
N a v a n e e t h8-Jul-08 19:05 
QuestionC# dll and COM Pin
theCPkid7-Jul-08 1:29
theCPkid7-Jul-08 1:29 
Questionproblem with doing two tasks sequentially in a web appication Pin
WebMaster7-Jul-08 1:22
WebMaster7-Jul-08 1:22 
AnswerRe: problem with doing two tasks sequentially in a web appication Pin
Guffa7-Jul-08 1:34
Guffa7-Jul-08 1:34 
QuestionError in registering plugin Pin
am 20097-Jul-08 1:21
am 20097-Jul-08 1:21 
QuestionAttribute not being set when invoking java web service from c# Pin
Simon Lime7-Jul-08 1:19
Simon Lime7-Jul-08 1:19 
I am consuming an XFire Java Web Service from c# using WCF.

It is all working fine for fields that are elements in the wsdl, however there is one field that is an attribute and this never gets set on the client side. The Reference.cs has fields mapped thus:-
/// this is an element and works fine
[System.Xml.Serialization.XmlElementAttribute(Order=14)]
public string type {
get {
return this.typeField;
}
set {
this.typeField = value;
this.RaisePropertyChanged("type");
}
}

/// this is an attribute and fails : (
[System.Xml.Serialization.XmlAttributeAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified)]
public long id {
get {
return this.idField;
}
set {
this.idField = value;
this.RaisePropertyChanged("id");
}
}

I know that the attribute is being set by the server as the method works fine in our java app, returning xml like this
<soap:Envelope>
<soap:Body>
<ns1:getFolderStructureResponse>
<ns1:result>
<folders>
<folder id="1">
<children>
<folder id="427">
<children/>
<copyId>18904</copyId>
<createdBy>203</createdBy>
<type>user</type>..... etc.

Any idea what might be going wrong?
AnswerRe: Attribute not being set when invoking java web service from c# Pin
Simon Lime7-Jul-08 1:30
Simon Lime7-Jul-08 1:30 
Questionhow to write "connection string" in namespace or webconfig file ? Pin
sacr837-Jul-08 0:28
sacr837-Jul-08 0:28 
AnswerCross post Pin
dan!sh 7-Jul-08 0:36
professional dan!sh 7-Jul-08 0:36 
QuestionBitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 0:18
kevinlin_57-Jul-08 0:18 
AnswerRe: Bitmap constructor(Image, Int32, Int32)~! Pin
leppie7-Jul-08 0:24
leppie7-Jul-08 0:24 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 19:29
kevinlin_57-Jul-08 19:29 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
leppie7-Jul-08 19:58
leppie7-Jul-08 19:58 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 22:31
kevinlin_57-Jul-08 22:31 
AnswerRe: Bitmap constructor(Image, Int32, Int32)~! Pin
Guffa7-Jul-08 1:40
Guffa7-Jul-08 1:40 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
kevinlin_57-Jul-08 19:43
kevinlin_57-Jul-08 19:43 
GeneralRe: Bitmap constructor(Image, Int32, Int32)~! Pin
Guffa8-Jul-08 4:02
Guffa8-Jul-08 4:02 
QuestionCan i create a unassigned array of my class object Pin
wasimsharp7-Jul-08 0:06
wasimsharp7-Jul-08 0:06 
AnswerRe: Can i create a unassigned array of my class object Pin
moon_stick7-Jul-08 0:21
moon_stick7-Jul-08 0:21 
GeneralRe: Can i create a unassigned array of my class object Pin
leppie7-Jul-08 0:25
leppie7-Jul-08 0:25 
GeneralRe: Can i create a unassigned array of my class object Pin
moon_stick7-Jul-08 0:27
moon_stick7-Jul-08 0:27 
QuestionSetup & Deployment for windows application Pin
K V Sekhar6-Jul-08 22:35
K V Sekhar6-Jul-08 22:35 
AnswerRe: Setup & Deployment for windows application Pin
dibya_20037-Jul-08 0:03
dibya_20037-Jul-08 0:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.