Sorry, that would be _xins-std.

Op 21 dec. 2012 om 16:49 heeft JW Borleffs <jw@jwscripts.com> het volgende geschreven:

Hi,

You need to define _xins-soap as the (default) calling convention.

See the manual for more information.

Regards,
JW

Op 21 dec. 2012 om 10:07 heeft fazakas peter <fazakaspeter@yahoo.com> het volgende geschreven:

Hi,
I have another question. I advance I just want to say that I am newbie in XINS. 

I created a web service (following the User-guide) and used the CAPI generated by XINS in a java project.
When I call the remote function(Ex. callTheBestPercentage("5") ) the server outputs a message: 

[java] 3521 INFO Received HTTP POST request from 192.168.2.2, path is "/mutationtest/", query string is (null).
[java] 3523 INFO Unable to process HTTP POST request from 192.168.2.2, path is "/mutationtest/", query string is (null). Returning HTTP status code              
404. Reason: "Cannot determine which function to invoke.".
[java] org.xins.server.FunctionNotSpecifiedException: Function not specified in incoming request.

If i try in a browser: 


than, it works. It returns the wanted page.

This is the code snipet from the java project:

TargetDescriptor descriptor;
.....
descriptor = new TargetDescriptor("http://localhost:8080/mutationtest/", 20000);
   
CAPI project = new CAPI(descriptor);

TheBestPercentageResult result = project.callTheBestPercentage("5");
 
System.out.println("Best result: " + result.getBestresult());


I don't know what I am doing wrong.

Could please someone help me?

Thanks.


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Xins-users mailing list
Xins-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xins-users
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Xins-users mailing list
Xins-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xins-users