Group WebMethods in WebService

77 views Asked by At

I've got question because I didn't find any answer in all internet.

I'm using Wildfly 8.2.0 and JaxWS WebService by Netbeans 8.0.2, and i'm importing this WSDL output to VisualStudio as Service Reference. I know it's maybe not the best way to do WebAPI but but...

Everything's work great except that all WebMethods are in one place. I've got VisualStudio Client() and structure is Client().AllFunctionsHere. Can I somehow group WebMethods which as result I will get Client().Login.Auth(), Client().Register.AddNew(), Client().Register.ComparePasswords() etc...

It's theoretically very valuable but I couldn't find solution.

P.S.: I don't want to create few WebServices because I've got "Login" method and a few WebServices don't share session unfortunatelly.

0

There are 0 answers