Re: JAVA works C# not !!!!!!!
- From: "Hovhannes Asatryan" <asa@xxxxxxxxx>
- Date: Thu, 26 Jul 2007 17:55:22 +0500
jpuopolo:
sorry for my lack of information...
where I should check permissions?
The server is the same nothing changed, I have no server codes, it is
executable.
Let me to explain to you more detailed...
I have xxx.wsdl, in which described in addition to getFiles and setFiles a
lot of methods, all of them is also
works on JAVA.
I have added this wsdl to my project as WebReference
Write an interface to get the SAOP interface.
Calls getFiles
Object[] getFiles(String aHomeDirectory, String aHomeOffset, String
aFileTypes);
returns the for example list of xml file if aFileTypes specified "xml".
works perfect!!!
But when I trying to call setFiles
bool setFiles(String aHomeDirectory, String aHomeOffset, Object[] files);
it throws the exception.
I don't know where I need to check permissions and if it is for write
permission why throw this kind of exception?
"jpuopolo" <jpuopolo@xxxxxxxxxxx> wrote in message
news:u6LaVF4zHHA.2312@xxxxxxxxxxxxxxxxxxxxxxx
Hovhannes:
1. Check your permissions. Depending on how you have them set up, you may
have read access and not write access.
2. Check your server. Many times (like in Java) there are read-only and
write-only streams. You may have access to a read (input) stream and need
to access the associated write (output) stream.
Of course C# works. That's a silly statement. It is just not exactly
mimicking what you saw in Java.
John
"Hovhannes Asatryan" <asa@xxxxxxxxx> wrote in message
news:uQ1hw13zHHA.464@xxxxxxxxxxxxxxxxxxxxxxx
Hello guys,
I'm newbie in .NET.
I have agent server works with SOAP protocol.
Added web service which have getFiles and setFiles methods.
SoapServer soapServer =
(SoapServer)Activator.GetObject(typeof(SoapServer),
http://localhost:port/Server);
SoapServer is the interface with methodts to be called.
When I called soapServer.getFiles("$FRTL_XMLHOME", "etc", "xml");
it works OK, but when I tried to call setFiles it throws exception
"Unable to write data to the transport connection: An established
connection
was aborted by the software in your host machine"
By the way with the same agent perfectly works java code no exceptions no
errors, the difference... client changed from java to .Net,
Language is C#.
Please help me with this problem.
.
- Follow-Ups:
- Re: JAVA works C# not !!!!!!!
- From: Göran Andersson
- Re: JAVA works C# not !!!!!!!
- References:
- JAVA works C# not !!!!!!!
- From: Hovhannes Asatryan
- Re: JAVA works C# not !!!!!!!
- From: jpuopolo
- JAVA works C# not !!!!!!!
- Prev by Date: Re: String starting with ' won't concatenate
- Next by Date: Re: String starting with ' won't concatenate
- Previous by thread: Re: JAVA works C# not !!!!!!!
- Next by thread: Re: JAVA works C# not !!!!!!!
- Index(es):
Relevant Pages
|