[SoapRMI] Trouble accessing .NET

Aleksander Slominski aslom_at_cs.indiana.edu
Wed, 03 Sep 2003 18:35:42 -0500


BESTJ_at_Nationwide.com wrote:

>I don't think there is a defect, unless lack of documentation is a defect.
>
>I just can't find any samples, and your API refrence has no detail, just
>method prototypes.
>
>I can execute a service fine on the ASP.NET server, but when I get a
>response back it responds with this error:
>
>xml mapping problem when reading object  at line 1 and column 304 seen
>...<HelloWorldResult>... (parser state START_TAG); nested exception is:
>soaprmi.mapping.XmlMapException: no mapping for
>encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
>uri=test:/jtest/Service1 localName=HelloWorldResult
>
>It seems it is seeing a <HelloWorldResult> and doesn't know what to do with
>it - no mapping.  I have tried to learn how to do this mapping by looking
>at every sample you have, and none have enlightened me.  I am frustrated
>because I can't figure it out and can't find any documentation.
>  
>
hi Jamie,

you are right it looks liekproblem with mappign but i need to reproduce 
it to be avle to fix it - could you try to run it with SOAP XML messages 
tracing and debug on - use -Dlog=:ALL as JAVA_OPTS (set it as 
environment variable and use run.sh/.bat script or directly pass to 
java.exe). here you can find some more about it:
http://mailman.cs.indiana.edu/pipermail/soaprmi/2002-March/000336.html
http://mailman.cs.indiana.edu/pipermail/soaprmi/2002-December/000424.html
http://mailman.cs.indiana.edu/pipermail/soaprmi/2002-December/000427.html
http://mailman.cs.indiana.edu/pipermail/soaprmi/2001-December/000277.html

i realize that mappign is probably the biggest weakness in xsoap and 
will try to make better job with next xsoap version.

thanks,

alek

>
>
>
>
>|---------+-------------------------------------->
>|         |               Aleksander Slominski   |
>|         |               <aslom_at_cs.indiana.edu> |
>|         |                                      |
>|         |                                      |
>|         |                                      |
>|         |                                      |
>|         |               09/03/03 02:37 PM      |
>|         |                                      |
>|---------+-------------------------------------->
>  >----------------------------------------------------------------------------------------------------|
>  |                                                                                                    |
>  | To:   BESTJ_at_Nationwide.com                                                                         |
>  | cc:   soaprmi_at_cs.indiana.edu                                                                       |
>  | bcc:                                                                                               |
>  | Subject:                                          Re: [SoapRMI] Trouble accessing .NET             |
>  >----------------------------------------------------------------------------------------------------|
>
>
>
>
>BESTJ_at_Nationwide.com wrote:
>
>  
>
>>I am trying this again, as my last try bounced.
>>
>>----- Forwarded by James M Best/Nationwide/NWIE on 09/02/03 08:09 PM -----
>>
>>I was pointed to your soap implementation from a link on the Apache
>>website.  I am trying to access a SOAP service on an ASP.NET server, and
>>having no luck.  I spent many hours today just trying to get it talking to
>>Microsoft's "Hello World" service.
>>
>>
>>    
>>
>hi James,
>
>i was connecting xsoap (aka soaprmi) to .NET services before and it worked.
>
>  
>
>>I have no trouble connecting to this service from Perl or C, using other
>>libraries, but I have not found a single simple example of using your
>>library to talk to a non-xsoap server.
>>
>>I would like to find a small JAVA library I can use to connect to both an
>>IBM websphere server (apache) and Microsoft server, but unless someone
>>    
>>
>here
>  
>
>>can point me in the right direction I am going to start examining other
>>libraries.
>>
>>
>>    
>>
>that is definitely what for xsoap was designed for.
>
>  
>
>>I have searched your mailing list archive and website, but have not found
>>anything useful.
>>
>>
>>    
>>
>if you describe in bugzilla how to reproduce the problem you have i will
>try to reproduce it and fix it.
>
>please send bug report to xsoap-java:
>http://www.extreme.indiana.edu/bugzilla/enter_bug.cgi
>http://www.extreme.indiana.edu/bugzilla/
>
>thanks,
>
>alek
>
>  
>
>>_______________________________________________
>>SoapRMI mailing list
>>http://www.extreme.indiana.edu/soap
>>http://mailman.cs.indiana.edu/mailman/listinfo/soaprmi
>>
>>
>>    
>>
>
>
>--
>If everything seems under control, you're just not going fast enough.
>?Mario Andretti
>
>
>
>
>
>
>
>
>  
>


-- 
If everything seems under control, you're just not going fast enough. —Mario Andretti