Click here to Skip to main content
15,902,939 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionconverting exel data into SQL data. Pin
Nilesh S.Badge21-Jan-09 19:42
Nilesh S.Badge21-Jan-09 19:42 
AnswerRe: converting exel data into SQL data. Pin
Jas 00721-Jan-09 19:48
Jas 00721-Jan-09 19:48 
AnswerRe: converting exel data into SQL data. Pin
Abhishek Sur21-Jan-09 21:15
professionalAbhishek Sur21-Jan-09 21:15 
AnswerRe: converting exel data into SQL data. Pin
Rutvik Dave22-Jan-09 4:06
professionalRutvik Dave22-Jan-09 4:06 
QuestionFile upload to FTP Pin
Radhakrishnan G.21-Jan-09 18:45
Radhakrishnan G.21-Jan-09 18:45 
AnswerRe: File upload to FTP Pin
Abhishek Sur21-Jan-09 19:30
professionalAbhishek Sur21-Jan-09 19:30 
GeneralRe: File upload to FTP Pin
Radhakrishnan G.21-Jan-09 19:58
Radhakrishnan G.21-Jan-09 19:58 
QuestionHow To: Call a Java Web Service from a .Net Client - (.net 3.5) Pin
anto200521-Jan-09 10:25
anto200521-Jan-09 10:25 
Hi,

I have to call a Java Web Service from a .Net Client .I'm using VS2008 (.net 3.5).
Web service was developed with Java. It is installed on a Tomcat server.
The web service offers some methods. A group of methods returns a xml file and a xml attachment.
A group of methods accepts a xml file and a file attachment.

How can I manage this situation ?
I saw different articles and documentation pages.
What's the best strategy ?

I read something about create a VS2005 project with WSE 3.0 and import it in VS2008.
I found notes about WCF ( I don't know WCF . It's the right tool ? ).
I tried a solution like this :
http://blogs.msdn.com/bursteg/archive/2008/07/19/how-to-call-a-java-ee-web-service-from-a-net-client.aspx

I tested article's code. It seems that is no way to manage attachment ...

When I invoked a method I saw this error . "The content type application/dime of the response
message does not match the content type of the binding (text/xml; charset=utf-8).
If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly.".

My custom code ( more or less)

WebApp.MyReference.WSMethodClient myMethod = newWebApp.MyReference.WSMethodClient();

// return a xml string and a attachment to soap message. I get xml string , but how can get attachment ?
string l_var = myMethod.service( p_CodApplication, p_UserName, p_Password );

How can I manage the attachment ? How can I manage soap messages with VS2008 ?


Could you help me ?
AnswerRe: How To: Call a Java Web Service from a .Net Client - (.net 3.5) Pin
Not Active21-Jan-09 10:43
mentorNot Active21-Jan-09 10:43 
GeneralRe: How To: Call a Java Web Service from a .Net Client - (.net 3.5) Pin
anto200521-Jan-09 11:02
anto200521-Jan-09 11:02 
QuestionOpen File Pin
Terick21-Jan-09 9:58
Terick21-Jan-09 9:58 
AnswerRe: Open File Pin
Not Active21-Jan-09 10:37
mentorNot Active21-Jan-09 10:37 
AnswerRe: Open File Pin
Rutvik Dave21-Jan-09 11:25
professionalRutvik Dave21-Jan-09 11:25 
GeneralRe: Open File Pin
Terick21-Jan-09 11:32
Terick21-Jan-09 11:32 
GeneralRe: Open File Pin
Terick21-Jan-09 11:44
Terick21-Jan-09 11:44 
Questionschema serialization question Pin
Member 391904921-Jan-09 9:42
Member 391904921-Jan-09 9:42 
QuestionObject references not persisted in ViewState [modified] Pin
kmullen21-Jan-09 8:55
kmullen21-Jan-09 8:55 
AnswerRe: Object references not persisted in ViewState Pin
Neeraj Kr21-Jan-09 19:38
Neeraj Kr21-Jan-09 19:38 
QuestionBrowser Back button not using cache Pin
dptalt21-Jan-09 5:45
dptalt21-Jan-09 5:45 
AnswerRe: Browser Back button not using cache Pin
ToddHileHoffer21-Jan-09 6:35
ToddHileHoffer21-Jan-09 6:35 
GeneralRe: Browser Back button not using cache Pin
dptalt21-Jan-09 6:46
dptalt21-Jan-09 6:46 
GeneralRe: Browser Back button not using cache Pin
ToddHileHoffer21-Jan-09 7:01
ToddHileHoffer21-Jan-09 7:01 
GeneralRe: Browser Back button not using cache Pin
dptalt21-Jan-09 7:33
dptalt21-Jan-09 7:33 
AnswerRe: Browser Back button not using cache Pin
Sundar_R21-Jan-09 17:59
Sundar_R21-Jan-09 17:59 
QuestionPassing input parameter to external js file function Pin
anandhakrishnan21-Jan-09 2:38
anandhakrishnan21-Jan-09 2:38 

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.