Web Service Object Parameters and JAXB

Hi All,
This is my first post here and I'm hoping one of you might have encountered a similar problem before. One of our business partners provided us with a WSDL for their service, with an embedded XML schema. My job in this case is to write a message driven bean (MDB) that will take a message containing XML off of a queue and call this web service. However, their web service requires an object to be passed as input. So, I've used JAXB to generate a set of classes (from the schema I ripped out of their WSDL) that will unmarshal the XML document that comes off the queue. This works fine, however, the resulting object is an inherently different object than the object I need to pass to the web service, that one was created by auto-generating the Java proxy for the web service. Since these two classes come from the same schema definition, they have the same structure and can hold the same data, but they have different implementations. My plan is to write a method to copy the data from one object to another, but this feels redundant. Is there any approach I could use to make these two auto-generated sets of code be more compatible, other than the obvious answer of having written everything by hand? Thanks in advance for any replies.

Are the XML instances coming from the queue and the request object to the WS defined by the same schema (from the business partner)? If they are different, there's no other option than to do a copy or some sort of XSLT (not that that's any easier though). But if the instances are defined by the same schema, just use some data binding framework that you can use for both reading the XML from the queue and that is incorporated into the WS toolkit you're using.
For example, Axis2 allows you to use XMLBeans as a the data binding framework. Using the generated classes from Axis2, you can read in the XML instances from the queue and at the same time have the request object for the WS call.

Similar Messages

  • Missing Web Service Input Parameters

    Hi,
    I am creating a form on web services. The source of the webservice is BEPL.
    When I register the webservice, I see the in and the out parameters.
    Operations      
    Operation Name     process
    Input Parameters
    Operation     Parameter Name     Parameter Type
    process     Data_source     string
         Data_URI     string
         Token     string
    But when I continue to create a form on the service, the next screen shows this message:
    * Item Finder
    Web Service Input Parameters      
    no data found
    Any idea what may be going on here?
    Thanks
    -SJ

    Hello,
    Are you sure it's a public webservice or that you put in the right username/password?
    Also if you call the webservice just from an url, does that work for you?
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • EJB Web Service Interface parameters name changed

    Hi, all,
    I create a simple Session EJB 3.0 with Web Service interface in Jdeveloper 10.1.3.4. and I deployed it into the embedded OC4J server.
    The question is I found that the web service operator parameters is changed to "String_1" (actually the parameter in EJB method is String ss). And I found the WSDL file is also String_1.
    How to create the real parameter name in WSDL from EJB Web Service interface? Any help on that?
    Best Regards,
    Bill

    if you do a lookup for the name "java:comp/env/ejb/queryProc" in the servlet, the deployment descriptor of your web-archive must contain an ejb-reference with the ref-name 'ejb/queryProc'.

  • FIM MA Export errors. There is an error executing a web service object creation.

    While checking for the permission, we have figured that the Built-In Synchronization account is being deleted by an Expiration Workflow.
    FIM MA Export errors. There is an error executing a web service object creation.
    While checking for the permission, we have figured that the Built-in Synchronization account was deleted by an Expiration Workflow
    Is there a way to restore. Thanks.

    I would re-run FIM setup - I think it can re-create this account
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • RE: Re[2]: Service Object events and LockMgr

    I think there are a lot to implement a lock manager. If several objects
    should be updated in one transaction, the lock manager should be able to
    handle rollbacks. Other things like release lock when exception happens,
    avoiding dead locks, etc. Most of the features are provided by DBMS, so
    I think using a option 2 would be a better solution.
    -----Original Message-----
    From: Dimitar Gospodinov [mailto:[email protected]]
    Sent: Wednesday, July 28, 1999 2:44 PM
    To: Peter Sham
    Cc: Duncan Kinnear; [email protected]
    Subject: Re[2]: Service Object events and LockMgr
    Hello Peter,
    Wednesday, July 28, 1999, 9:19:10 PM, you wrote:
    PS> Hi,
    PS> Just wonder exactly how this Lock Manager can be
    implemented. Do you mean that you are
    PS> going to cache every object that is instantiated from the
    database? Or you just cache
    PS> the object id, primary key, etc?
    PS> Frankly speaking, I won't attempt to due with this kind
    of currency coding myself as
    PS> the database vendor has spent years in coding just to do this.
    PS> Regards.
    The second one - you just need some unique value that will identify
    the object being locked. You should register with the Lock
    Manager only
    the objects that you want to lock.
    For me, one of the goal of such pattern is to give you some freedom
    from the specifics of the database lock mechanism.
    Another benefit that I can see is that using such approach you can
    always answer to the question: "Can I modify/delete this object?".
    Best regards,
    Dimitar mailto:[email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/forte>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

    I think there are a lot to implement a lock manager. If several objects
    should be updated in one transaction, the lock manager should be able to
    handle rollbacks. Other things like release lock when exception happens,
    avoiding dead locks, etc. Most of the features are provided by DBMS, so
    I think using a option 2 would be a better solution.
    -----Original Message-----
    From: Dimitar Gospodinov [mailto:[email protected]]
    Sent: Wednesday, July 28, 1999 2:44 PM
    To: Peter Sham
    Cc: Duncan Kinnear; [email protected]
    Subject: Re[2]: Service Object events and LockMgr
    Hello Peter,
    Wednesday, July 28, 1999, 9:19:10 PM, you wrote:
    PS> Hi,
    PS> Just wonder exactly how this Lock Manager can be
    implemented. Do you mean that you are
    PS> going to cache every object that is instantiated from the
    database? Or you just cache
    PS> the object id, primary key, etc?
    PS> Frankly speaking, I won't attempt to due with this kind
    of currency coding myself as
    PS> the database vendor has spent years in coding just to do this.
    PS> Regards.
    The second one - you just need some unique value that will identify
    the object being locked. You should register with the Lock
    Manager only
    the objects that you want to lock.
    For me, one of the goal of such pattern is to give you some freedom
    from the specifics of the database lock mechanism.
    Another benefit that I can see is that using such approach you can
    always answer to the question: "Can I modify/delete this object?".
    Best regards,
    Dimitar mailto:[email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/forte>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

  • Re: Service Object events and LockMgr

    On the option that you have considered, I have implemented the same model
    in my previous project (using Java/RMI), but I felt that it is more than
    what is normally needed for concurrency protection.
    I can suggest another option that is worth considering which is in place in
    our app for concurrency.
    Almost every table in our db has created By, created On, modifed By,
    modified On columns. The parent class of all business objects has
    attributes that correspond to these four columns. In addition to these
    four, there is a fifth attribute (introduced when concurrency was built)
    called originalModifiedOn. Upon retrieval from the db, it is set to
    modifiedOn value (from the db), during UPDATE, the value in this column is
    added part of the WHERE clause. So when the second user tried to do save
    the same object, the underlying db update will get a 'zero rows updated'
    which is translated into an application error 'possible concurrency
    error'. The user re-retreives the now 'stale' object before applying their
    edits.
    A lot of these things are and can be built into the framework imposing very
    little work that each Object needs to do to have concurrency protection.
    I am not sure if there is a mention in the Patterns paper of this model,
    but it is very easy to implement and supports what is needed.
    Kishore Puvvada's Mail
    [email protected] on 07/28/99 01:47:00 AM
    To: [email protected]@INTERNET
    cc: (bcc: Kishore Puvvada/HQ-IS/TAL)
    Subject: Service Object events and LockMgr
    Hi folks,
    We're currently looking at strategies for dealing with the simultaneous
    updates to the database from multiple clients (concurrency
    management). That is when two (or more) clients load the same object to
    edit it, then make different changes and save them to the database.
    We have a copy of a Fort&eacute; document (from the "Patterns" course, I
    think) which describes three methods of dealing with this:
    1) Lock the database table row as soon as a client select it for editing
    and hold the lock until it is saved.
    2) Immediately before 'saving' check that the database hasn't changed
    (either by reading what's there before updating, or by using a huge
    'where' clause that contains all unchanged fields)
    3) The Fort&eacute; "LockMgr" pattern, which uses a service object with notifier
    proxies to allow locking and updating notification between the clients.
    Option 3 is obviously the most robust method, but it requires a fair
    amount of coding and could also be a bottleneck for database reads and
    writes.
    But I have another option for which I was looking for opinions. What if
    we had a "Change Event manager" which broadcast an event every time
    a change is made to the database. Each business class would have its
    own event. If the event had the object's primary key as a parameter, then
    clients editing that particular object type could check to see if the object
    currently on screen is the one that changed. That way you could disable
    the 'save' until they had refreshed their on-screen data.
    It's not particularily elegant, but it's reasonably simple to implement. It
    also deals with changes sent across our WAN from other database
    servers.
    But this option is only worthwhile if you can replicate the "Change Event
    manager" SO and still register for an event on the client. Can clients
    register for SO events and receive an event generated by any of the SO's
    replicates? Or when you register for an SO's event do you register for
    only one instance of the SO?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email:
    [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10
    years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:
    http://pinehurst.sageit.com/listarchive/forte>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

    On the option that you have considered, I have implemented the same model
    in my previous project (using Java/RMI), but I felt that it is more than
    what is normally needed for concurrency protection.
    I can suggest another option that is worth considering which is in place in
    our app for concurrency.
    Almost every table in our db has created By, created On, modifed By,
    modified On columns. The parent class of all business objects has
    attributes that correspond to these four columns. In addition to these
    four, there is a fifth attribute (introduced when concurrency was built)
    called originalModifiedOn. Upon retrieval from the db, it is set to
    modifiedOn value (from the db), during UPDATE, the value in this column is
    added part of the WHERE clause. So when the second user tried to do save
    the same object, the underlying db update will get a 'zero rows updated'
    which is translated into an application error 'possible concurrency
    error'. The user re-retreives the now 'stale' object before applying their
    edits.
    A lot of these things are and can be built into the framework imposing very
    little work that each Object needs to do to have concurrency protection.
    I am not sure if there is a mention in the Patterns paper of this model,
    but it is very easy to implement and supports what is needed.
    Kishore Puvvada's Mail
    [email protected] on 07/28/99 01:47:00 AM
    To: [email protected]@INTERNET
    cc: (bcc: Kishore Puvvada/HQ-IS/TAL)
    Subject: Service Object events and LockMgr
    Hi folks,
    We're currently looking at strategies for dealing with the simultaneous
    updates to the database from multiple clients (concurrency
    management). That is when two (or more) clients load the same object to
    edit it, then make different changes and save them to the database.
    We have a copy of a Fort&eacute; document (from the "Patterns" course, I
    think) which describes three methods of dealing with this:
    1) Lock the database table row as soon as a client select it for editing
    and hold the lock until it is saved.
    2) Immediately before 'saving' check that the database hasn't changed
    (either by reading what's there before updating, or by using a huge
    'where' clause that contains all unchanged fields)
    3) The Fort&eacute; "LockMgr" pattern, which uses a service object with notifier
    proxies to allow locking and updating notification between the clients.
    Option 3 is obviously the most robust method, but it requires a fair
    amount of coding and could also be a bottleneck for database reads and
    writes.
    But I have another option for which I was looking for opinions. What if
    we had a "Change Event manager" which broadcast an event every time
    a change is made to the database. Each business class would have its
    own event. If the event had the object's primary key as a parameter, then
    clients editing that particular object type could check to see if the object
    currently on screen is the one that changed. That way you could disable
    the 'save' until they had refreshed their on-screen data.
    It's not particularily elegant, but it's reasonably simple to implement. It
    also deals with changes sent across our WAN from other database
    servers.
    But this option is only worthwhile if you can replicate the "Change Event
    manager" SO and still register for an event on the client. Can clients
    register for SO events and receive an event generated by any of the SO's
    replicates? Or when you register for an SO's event do you register for
    only one instance of the SO?
    Thanks in advance for any answers.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email:
    [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10
    years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:
    http://pinehurst.sageit.com/listarchive/forte>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/forte>

  • Web services on SAP and JCo

    Hi I have two questions:
    1) I'm using a third party connector (JCo based) which is able to expose RFC/BAPIs into Web Services.  (I know I could do this with SAP directly as well on ECC 5.0 and up, but for now let's say I have to use the JCo connector).    If I write a custom RFC and want it to be called through that JCo connector, what are the steps that I need to go through to properly configure the custom RFC?  Is there any documentation written for that?
    2) In some other scenarios I need to call standard SAP web services.  Some web services are transactional and commit/rollback needs to be called explicitly.   What is the best practice for that?  Do I need to make a custom RFC from the standard one, and add commit into it, and then expose it as a web service?   Anyway for me to call that web service and commit in one connection?  
    Thanks much in advance,
    Ye

    Hi  Ye
    just have a look on these links may be useful ...
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8798be90-0201-0010-d093-85f728778d37
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c63bca90-0201-0010-59ae-e0db32750209
    Properties for an AS ABAP Data Source... user must have authorizations to use RFC, and to create, Refer to the SAP Java connector documentation for details
    http://help.sap.com/saphelp_nw04s/helpdata/en/84/10594aecd3e1408845e66c432b955e/frameset.htm
    Regards
    Abhishek

  • Is it possible to create web services for classes and bol objects?

    i am new to crm web channel,can any one  please ,help me....
    thank u in advance,
    kiran.

    Hi Kiran,
    Here, when you are talking about classes and BOL objects together, I assume you are talking about the BOL layer for CRM. If that is the case, and you have no dependency on WCEM for these objects, I would suggest you use the NW gateway to expose Odata web services from the CRM box itself. If you would like to expose the Odata web services from WCEM, please have a look at Ch 7 Dev & Extension Guide available in help.sap.com/wec301.
    Good luck!
    Regards
    Pranshu

  • Web Service Export Parameters missing when consumed by Visual Studio 2005

    Hi,
    I am using Visual Studio 2005 (2.0 framework) to consume bespoke SAP Web Services (SAP 4.7) however some of the export parameters are missing. I have tested the SAP web services with various XML tools and they all work perfectly.
    Is there anything I can do to enable Visual Studio to genarate the correct proxy?
    Many thanks for any tips.
    Billy

    This isn't going to work as well as I had thought.
    That is correct that the Name and Value fields come back as XmlNode arrays. Each XmlNode array contains two XmlNode objects (or one if you received a null value from the db). One object contains the atrributes and one contains the value. I had planned on going into the ColumnValueType Value field and pulling the text of the 2nd XmlNode object.
    Now here is the problem:
    For every column you select you get a ColumnValueType object. Rather than being contained in some type of "Row" parent object, each column sits in the root of your results. For example, in the query I am using I am asking for the AlertingName and DnOrPattern columns of the NumPlan table. My results come back like this (simplified):
    AlertingName
    John Doe
    DnOrPattern
    1234
    With the data in this format, I can't just do a foreach loop and iterate over the ColumnValueType objects.

  • Web Service - Complex Parameters

    Hi, I'm trying to get a specific Web Service working by
    calling the appropriate parameters and I can't seem to get it
    working properly in Flex.. I have this Web Service working just
    fine in Microsoft's InfoPath product. When I call the Web Service
    and trace I notice the parameters returned are in the wrong order
    and the complex parameter doesn't show the sub tags (MS Infopath
    does). Also, the parameters I leave empty return with "[Object
    Object]" (MS Infopath doesn't do this). So it looks like flex isn't
    doing something right with my Webservice. Here's what I am
    passing.. If I'm doing something wrong please let me know.. Any
    ideas or opinions are greatly appreciated!
    <mx:request>
    <Infoprovider></Infoprovider>
    <Parameter>
    <item>
    <Name></Name>
    <Value></Value>
    </item>
    </Parameter>
    <Query>ZG_PUR_104E</Query>
    <ViewId></ViewId>
    </mx:request>

    Me to, and i use Axis for web services (and WebSphere
    WebServices).
    And, if you use bind from text input you get [object Object]
    in general case
    <mx:request>
    <value>{entry1.text}</value>
    </mx:request>
    <mx:TextInput x="23" y="101" text="" id="entry1"/>
    if you enter any text at textinput and delete it you DONT get
    "[object Object]" at web service....
    if you dont enter text you get "[object Object]" at web
    service...
    if you use variable or other elements its the same.
    Any help?
    TIA

  • How to call web service with parameters?

    Hi
    I'm testing a distributed architecture where parameters are queried from an ODBC database, and a web service called with resulting parameters as input, returning a computed result to the integrated Crystal report. I'm unable to successfully associate the database fields with the web service parameters - the web service is always called with empty parameters. When I call the web service manually from CR by entering parameters, it works as expected. I'm using a sub-report with fields linked to the main report.
    Has anyone done something like this / know how to correctly link database fields with web service parameters?
    Help much appreciated,
    Lance

    An update - I solved this problem as follows:
    In CR Design view, right-click on sub-report object, select 'Change Subreport Links'. In the links dialog, transfer database fields into 'Field(s) to link to' list. Select a field in 'Field(s) to link to' and in 'Subreport parameter field to use' below, map the field to the appropriate web service parameter field in the dropdown.
    Tested with version 11.5.8.826.
    - Lance

  • Web Service Job Parameters with Job Actions

    I have a set of web service jobs for which I am supplying input parameters. This works fine when defined against a single particular job but i have a need to insert this job based upon a job event and pull some information off of the job the had the event condition occur (i.e. Completed Abnormally). When defining the Job Action to launch the job, the default and override parameter fields are not editable. Has anyone had any luck with this? I didn't notice anything in the documentation but I could have just overlooked this. Any help would be appreciated.
    Thanks,
    kyle

    Me to, and i use Axis for web services (and WebSphere
    WebServices).
    And, if you use bind from text input you get [object Object]
    in general case
    <mx:request>
    <value>{entry1.text}</value>
    </mx:request>
    <mx:TextInput x="23" y="101" text="" id="entry1"/>
    if you enter any text at textinput and delete it you DONT get
    "[object Object]" at web service....
    if you dont enter text you get "[object Object]" at web
    service...
    if you use variable or other elements its the same.
    Any help?
    TIA

  • Web Service Object Questions

    Hello;
    I believe I may be using improper terminology but I will try to explain as best as I can.
    I have been working on a web service form, with 2 methods. One is a get, where I put in parameters and it returns a result. Another is a form to input data into a database app.
    The get method has two routines, a validation of parameters (essentially a login) and the results object. The validation is able to be dragged onto the form, it appears completely and works perfectly. However; the results object cannot be dragged onto the form, it appears in design (as a subform) but will not display on the .pdf. Additionally; it contains only one segment of the data it is supposed to return. It would contain approximately 100 records, but only returns the first. If I drag each field onto the form separately, it comes in and appears on the .pdf. I can get it to work by copying the 4 fields repeatedly, and when I process the validation the additional records populate the copies. This is tedious work and I have forms for multiple services to design. I just wish I could drag the whole object and have the results display as a table with each row as a record.
    The input form has the same validation and approximately 30 fields for input, I have the same problem where dragging the entire method (creates a subform) doesn't display on the .pdf. Once again I can individually drag each field but it doesn't seen might that it appears in design but won't appear on the .pdf.
    Yes, they are set as visible, and they are already at the front of the form...
    Any help or suggestions are greatly appreciated
    -Tim

    Thanks for your help, I have a much greter understanding of subforms as a result. Your suggestions seem logical and I can understand how designer should work (flow,repeat,fill parent...)if I could get it to behave.
    Howerver, I cannot seem to get it to work right. The method has 4 levels in the hierarchy.
    Method; Body>Response>Result>Objects(fields that will repeat)
    I have tried every combination of settings, and I can only get it to work if I copy the individual fields over and over and make sure they are not contained in any subform. I have tried unwrapping the subforms one by one, creating my own subforms and applying the settings you sugggested, binding the individual fields to the full path to data, incrementally assigning the path to the appropriate subform level...
    One thing that happens is the initial drag-n-drop doesn't reveal the contents of the sub form, (they are set as 'visible', and I have tried repeatedly to move the fields to the front etc.). Even when I unwrap from the top down, I only see the fields when I unwrap the last one ( and then I have to bind to the full path to the data).
    A different method within the web service (a validation) displays under 3 subforms without any manipulating.
    If anyone has been able to work through a similar situation please let me know!

  • Can XMLBeans validate Web Services Input Parameters in Weblogic8.1?

    Hi,
    I am very new to XMLBeans and Web Services. From my understanding, schemas can be used to validate an xml document.
    However, I would like to find out:
    1. Can I validate my web service inputs againest the generated XMLBeans objects/schema, in Weblogic 8.1?
    2. How do I validate my input parameters from the web service? My input parameters include enumerations of valid values and also numeric values.
    Fyi, the XMLBeans objects were generated from the schema which i created, and my web service is using these XMLBeans objects.
    Great Thanks!

    This is crazy! Someone must have come across this problem
    before.
    I've simplified my question and used a much simplier method
    from the web service, here goes!
    ::: Here's my code :::
    <cfscript>
    webservice = CreateObject("webservice","dummy?wsdl");
    webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
    </cfscript>
    ::: Here's the error :::
    Could not perform web service invocation
    "doBuildQuoteForItinerary".
    Here is the fault returned when invoking the web service
    operation:<br> <pre>AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode: faultString:
    com.raileurope.web.ngserver.InternalErrorException:
    java.lang.NullPointerException faultActor: faultNode: faultDetail:
    http://xml.apache.org/axis/}hostname:dummy
    </pre>
    There must be something wrong with how I'm passing in the
    parameters. Is it the null string??!?!?
    Any help would be great!

  • Can XMLBeans validate Web Services Input Parameters?

    Hi,
    I am very new to XMLBeans and Web Services. From my understanding, schemas can be used to validate an xml document.
    However, I would like to find out:
    1. Can I validate my web service inputs againest the generated XMLBeans objects/schema?
    2. How do I validate my input parameters from the web service? My input parameters include enumerations of valid values and also numeric values.
    Fyi, the XMLBeans objects were generated from the schema which i created, and my web service is referencing/using these XMLBeans objects to package the results to the calling class/method.
    Great Thanks!

    This is crazy! Someone must have come across this problem
    before.
    I've simplified my question and used a much simplier method
    from the web service, here goes!
    ::: Here's my code :::
    <cfscript>
    webservice = CreateObject("webservice","dummy?wsdl");
    webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
    </cfscript>
    ::: Here's the error :::
    Could not perform web service invocation
    "doBuildQuoteForItinerary".
    Here is the fault returned when invoking the web service
    operation:<br> <pre>AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode: faultString:
    com.raileurope.web.ngserver.InternalErrorException:
    java.lang.NullPointerException faultActor: faultNode: faultDetail:
    http://xml.apache.org/axis/}hostname:dummy
    </pre>
    There must be something wrong with how I'm passing in the
    parameters. Is it the null string??!?!?
    Any help would be great!

Maybe you are looking for