put document into vangent - client java code

  6 posts   Feedicon  
Replies: 5 - Last Post: November 25, 2009 17:10
by: anandsastry
showing 1 - 6 of 6
 
Posted: November 23, 2009 15:50 by Jindrich.Stejskal
Hi,

I installed vangent and I am trying put my first document into vangent .

I created client classes according to WSDL by AXIS tool
java org.apache.axis.wsdl.WSDL2Java http://localhost:9080/axis2/services/xdsregistryb?wsdl

I took this sample request
ftp://ftp.ihe.net/TF_Implementation_Material/ITI/examples\XDS.b\ProvideAndRegisterDocumentSet-bRequest.xml

What code should I use? This one is certainly wrong:

Xdsrepositoryb xdsregistryb = new XdsrepositorybLocator();
String str = loadFileToString("ProvideAndRegisterDocumentSet-bRequest.xml");
xdsregistryb.getxdsrepositorybHttpSoap11Endpoint().submitObjectsRequest(str);

Thanks for advice
Jindrich Stejskal
 
Posted: November 23, 2009 17:48 by anandsastry
Please use the WSDL files found at: ftp://ftp.ihe.net/TF_Implementation_Material/ITI/
Please let me know if this works.

Anand
 
Posted: November 23, 2009 19:55 by Jindrich.Stejskal
Hello,

thanks for your response.
OK, I generated java files according to wsdl on FTP
Do you have some piece of code how to send
ProvideAndRegisterDocumentSetRequest
or anything else

thank you
Jindrich Stejskal
 
Posted: November 24, 2009 15:40 by anandsastry
HIEOS is packaged with test tools listed below:
1) xtest - for submission of various XDS.b transaction requests.
2) logbrowser -for inspection of the submitted XDS.b transactions.
3) xwebtools - for inspection of the XDS.b registry's contents.

Please navigate to the link, http://kenai.com/projects/hieos/pages/TestTools, for a description on all the test tools.

Hope this helps.

Anand



 
Posted: November 24, 2009 16:13 by Jindrich.Stejskal
I know that tools and I already test them...
But they are deep inside vangent source codes.
I need a simple java client, just a few lines of code with one simple document.
I can't find anything like this on whole intranet to any other XDS server.
Do you know about something like this?

thanks for your help
Jindra
 
Posted: November 25, 2009 17:10 by anandsastry
Sorry, at the moment we do not have a simple java client. We will work on it and post it when available. In the interim, you could choose to use Axis2's code generators that can generate client stubs, given a WSDL. Unfortunately, at this time, you will have to manually fill out the stubs. You might be able to find content samples on the IHE site, www.ihe.net.

Regards,

Anand
showing 1 - 6 of 6
Replies: 5 - Last Post: November 25, 2009 17:10
by: anandsastry
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close