title: Netbeans and .NET web services
body: <p>I'm not an experienced java developer so any comment will be welcomed ...</p>
  
  <p>I've written a web service using c# and I wanted to consume this service from java - used Netbeans for this task.</p>
  
  <p>All methods works well beside one: the method expecting a type called BusinessDataField2 - this type contains 2 fields: name(string) and value(object)</p>
  
  <p>Those fields are filled using get,set methods - this works easily at the .NET environment.</p>
  
  <p>However ...</p>
  
  <p>I can see that Java requires different parameters for the get and set methods - the parameter is :</p>
  
  <p>JAXBElement
  JAXBElement </p>
  
  <p>The question is: how do I instantiate this object? I tried many different ways but nothing worked...</p>
  
  <p>Thanks,
  ofer</p>