-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Download: Java All-in-One For Dummies, 7th Edition ($27 Value) — free for your email
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 2 views
-
Learn Java with Projects (worth $44.99) but free in exchange for your email
By News Staff,
- packt
- ebook offer
- (and 2 more)
- 0 replies
- 3 views
-
JavaScript from Frontend to Backend ($20.99 Value) FREE for your work email
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 3 views
-
- 0 replies
- 3 views
-
Job Ready Java ($24 value) free download for a Limited Time
By News Staff,
- ebook offer
- java
- (and 1 more)
- 0 replies
- 2 views
-
Question
+Red King Subscriber²
In an ASP.NET I have a SVC.
One of the Operating Contracts takes in a list of Foo Objects. Foo has all public members, some strings, and some other objects. All public, with [DataMember] declaration and [DataContract] with namespace of my service.
To communicate with this SVC from JAVA I ran "wsimport.exe ?wsdl" which generates three folders with compiled classes which I jar and put into my JAVA workspace.
The issue is, the WCF Service never receives any data elements (of class Foo) from JAVA code. That is, I set the inner elements of class Foo from JAVA code, and call the web service - but they don't get passed along.
So I marshalled out what was being sent from JAVA,
I am pretty sure this shoud look like this, (This is the only idea I have why the service it is not seeing the strings passed from java code)
I am using the generated Factory classes.
Obviously no issues creating a .NET client using svcutil.
I tried various settings in wsimport. No luck.
Anyone has an idea? Obviously I can manually serialize these or remove the complex types (both equally painful).
Link to comment
Share on other sites
0 answers to this question
Recommended Posts