Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

In the web service client we might auto generate a data structure by providing the web service url. In eLandings we use Java – JAX-WS and generated a structure called ReportManager.
ReportManagement ws;
...
...
String xml = ws.getFishTicketNumbers(userid, password, schemaVersionNumber, numberOfNumbersRequested, reportType);
Or
String xml = ws.getFishTicketNumbers("amarx", "A_marx", "2.1", "1", "10");
If the web service call was successful you might see a string containing something like:

Code Block
Wiki Markup
{CODE}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<number_info>
    <schema_version>2.1</schema_version>
    <fish_ticket_number>E11 152461</fish_ticket_number>
    <fish_ticket_number>E11 152462</fish_ticket_number>
    <fish_ticket_number>E11 152463</fish_ticket_number>
    <fish_ticket_number>E11 152464</fish_ticket_number>
    <fish_ticket_number>E11 152465</fish_ticket_number>
    <fish_ticket_number>E11 152466</fish_ticket_number>
    <fish_ticket_number>E11 152467</fish_ticket_number>
    <fish_ticket_number>E11 152468</fish_ticket_number>
    <fish_ticket_number>E11 152469</fish_ticket_number>
    <fish_ticket_number>E11 152470</fish_ticket_number>
</number_info>
{CODE}