DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = Can I easily create an XML Document in Java and pass to a .NET Web Service? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2008, 01:00 AM
LIFE_CONSUMER LIFE_CONSUMER is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

Can I easily create an XML Document in Java and pass to a .NET Web Service?


If I have a .NET Web Service with a method that accepts an XMLDocument as an input parameter, can a Java Program supply that same datatype, or is an "XMLDocument" in .NET different from what is available in Java (I have .NET but basically no Java experience).

Also - I know in .NET programs, you can easily call WS methods much like any other class/obj methods; is it similar in Java, or much more complex to do something like this (eg, do you have to manually take care of all the SOAP stuff).

Thx.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-15-2008, 01:15 AM
Jim Maryland Jim Maryland is offline
Junior Member
 
Join Date: May 2008
Posts: 25
Default

If you can obtain the WSDL file for the Web Service, you can use a variety of Java tools to help generate stub code and object types to work with the .NET Web Service. The beauty of web services is that they tend to be application agnostic. I say "tend to be" because it is possible to embed binary objects in the XML document, but that sort of goes against the spirit of services.

Take a look at the Apache XML Bean website for one way to work with the XML document. Another option is the Sun JAXP (Java XML Parser). I tend to like the Apache XML Bean option as more of the IDEs seem to be moving that way.

** Edit **
Oh, you can also work with the xsd files for the document types too. If you plan to call the service though, the WSDL file is probably more convenient to work with.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA: If I pass a String as a parameter, is it passed as an object... Heroic Zach Java, Java Servlets & JSP 3 05-13-2008 09:18 AM
Any Java API for converting to word document.? mmbaskr Java, Java Servlets & JSP 0 05-12-2008 01:59 AM
Create HTML/DHTML/Java quiz? Maber HTML & DHTML 3 05-08-2008 10:00 AM
In servlets in java. PrintWriter out=res.getWriter(). Here we didnt create... Albin Xavier Java, Java Servlets & JSP 0 05-06-2008 11:31 PM
what all tools one need to create,compile and run java programs? clement Java, Java Servlets & JSP 5 05-06-2008 02:40 PM

Your Ad Here

All times are GMT. The time now is 11:18 AM.