trebor iksrazal | 15 Nov 06:05
Picon
Favicon

Hey, I finally found this opportunity...

Hello Friend.
ive come to realize that money never sleeps this totally took me by surprise it didnt even take that much effort you can have a chance too
http://ip.hostuju.cz/JasonHarrison69.html
see you soon.

Alexander Kouznetsov | 28 Jun 15:52
Picon
Favicon

JAX-RPC vs. Axis

Guys,

Is it possible to use JAX-RPC with Axis web service? I tried a version 
that comes with Glassfish 3 and got some easy operations working but for 
more complicated some deserialization exceptions occur. With Apache Axis 
everything works just fine.

Exception in thread "main" java.rmi.RemoteException: Runtime exception; 
nested exception is:
deserialization error: deserialization error: unexpected XML reader 
state. expected: END but found: START: id
at 
com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:348)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:330)
at test.JiraSoapService_Stub.getIssue(JiraSoapService_Stub.java:376)
at rpcclient4.RPCClient4.main(RPCClient4.java:33)
Caused by: deserialization error: deserialization error: unexpected XML 
reader state. expected: END but found: START: id
at 
com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:107)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:256)
... 2 more
Java Result: 1

--

-- 
Best regards,
Alexander Kouznetsov

Edward Bratt | 8 Dec 15:59
Picon
Favicon

jax-rpc is now live

Hi
We're happy to report the final migration of all CVS projects. All Projects in the GlassFish migration group are now live with the new Java.net hosting tool suite, Kenai. This wiki details the complete list of projects which have been migrated.

Project web-sites are still being converted. If you can't find what you are looking for, please send an e-mail to the user mailing list for your project.

This project repository has been converted to Subversion.

The new project URL is: http://jax-rpc.java.net
The Subversion repository URLs can be found at http://java.net/projects/jax-rpc/sources
User ID/Password authentication as well as SSH credentials are supported.
If you are new to Subversion, you can read the Kenai help pages to get started.

These projects have all their Kenai features enabled and,
  • E-mail is now enabled and the archives are loaded
  • Users and roles are fully imported for each project. You may see your ID more than once if you have multiple roles in the project
  • Each site's Jira dashboard is at: java.net/jira/browse/PROJECT -- for example: http://java.net/jira/browse/GLASSFISH. You can work with Jira as your project requires
  • By default, projects are migrated to the Kenai project site look & feel. Each project must enable their web-site as described in the glassfish-migration wiki. Project owners are responsible for applying the new GlassFish theme. We're ready to help if you need any additional support
Additionally, ALL migrated e-mail lists are now live and, you can resume using them to communicate with your project community members. Messages are being archived, but you won't be able to browse through the archives until the project repositories are enabled. I will send a similar update to all project aliases.

One caveat is that projects which used the ProjectDocumentList servlet storage (Documents & files) from Collabnet do not yet have these files migrated. We will send another notice, once this is completed. You can check yourself by browsing to: http://java.net/downloads/[PROJECT-ID]. If your project used this feature, this will be created when the files are migrated.

Please report any web-site issues, to the respective project owners and, give them some time to get everything updated for the new site. Please let me know if you suspect any data import issues. Please remember, the UI may be showing you the data in a form that is different from the Collabnet suite of tools.

There is extensive help for the Kenai tool suite. You'll find help links on most pages.
We are managing a wiki for GlassFish specific progress and issues.
If you need assistance with GlassFish migration topics, send e-mail to migration-help <at> glassfish-migration.kenai.com
You can use the Kenai Forums for Kenai Q & A with the Kenai development team.

We will post further wiki updates as more projects are enabled.

Thank you for your patience and continued contributions to the GlassFish community.

Ed Bratt & The GlassFish migration team

glopez | 15 Apr 17:27
Picon

What is a messageContext?


I need to get a SOAPMessage and I think the solution is the following:

SOAPMessageContext soapContext = (SOAPMessageContext)messageContext;

// get SOAP message
SOAPMessage msg = soapContext.getMessage();

But, what is that messageContext??

I have created my proxy automatically with Netbeans using an wdsl file.
My Service Endpoint Interface is called "ManagementService"

Thank you to everyone
--

-- 
View this message in context: http://old.nabble.com/What-is-a-messageContext--tp28256780p28256780.html
Sent from the JAX-RPC - User mailing list archive at Nabble.com.
baddog909 | 5 Feb 01:16
Picon
Favicon

Java to WSDL nillable attributes?


Newbie Question,

When I generate my wsdl from Java code all of the attributes in my WSDL are
set to nillable="true".

I update the generated wsdl to have nillable="false" for the attributes that
must be populated but when the WAR file get's deployed the wsdl sets
everything back to nillable="true".

Is there a way to keep the WSDL file from getting changed? 

BTW, im using Eclipse IDE, JAX-RPC, AXIS in Tomcat environment.

Any help would be appreciated.
--

-- 
View this message in context: http://old.nabble.com/Java-to-WSDL-nillable-attributes--tp27461893p27461893.html
Sent from the JAX-RPC - User mailing list archive at Nabble.com.
Leonardo Rodriguez | 21 Jan 22:36
Picon

Character Set Encoding

Hi !
I developed a web service, and a mobile client. On the Sun Wireless
Toolkit Emulator the mobile client works fine, but when it's deployed
on my nokia 5800, there is
an error when i send a char like á,é,ñ  :

Jan 21, 2010 10:31:23 PM
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit handle
SEVERE: Couldn't create SOAP message due to exception: XML reader
error: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte
0x65 (at char #261, byte #37)

i found a solution for this problem but for the ibm implementation of jax-rpc :
set the javax.xml.soap.SOAPMessage.CHARACTER_SET_ENCODING property
but in the stub generated by netbeans ( netbeans impl of jax-rpc ?? )
i don't find this property

Thanks you in advance
Leonardo Rodriguez | 4 Jan 03:23
Picon

jax-rpc - cyclical references

Hello!
Please can you help me with this problem :
http://forums.netbeans.org/topic21590.html
Nobody answer my posts about this problem.
Thanks!

Leonardo Rodriguez | 4 Jan 03:08
Picon

JAX-RPC - Parameter with Cyclical References

Hello!
Please can you help me with this problem :

http://forums.netbeans.org/topic21590.html
Nobody answer my posts about this problem.
Thanks!
Mitch Claborn | 27 Nov 21:24

namespace help

I'm a novice (at best) at SOAP and Web Services in general.  I'm writing
a simple program to consume this web service. WSDL below.  The stubs and
stuff are generated by NetBeans 6.7.1

The code I am using to test:
    ToyboxService_Impl l_service = new ToyboxService_Impl();
    RTI l_rti = l_service.getRTI();
    ((Stub)l_rti)._setProperty(Stub.USERNAME_PROPERTY, "omitted");
    ((Stub)l_rti)._setProperty(Stub.PASSWORD_PROPERTY, "omitted");
    StringHolder l_cid = new StringHolder();
    StringHolder l_content = new StringHolder();
    StringHolder l_result = new StringHolder();
    l_rti.fetch_profile("me <at> you.com", l_cid, l_content, l_result);

The error I am getting:

unexpected element name:
expected={http://the.namespace.com/survey/}fetch_profileResponse,
actual=fetch_profileResponse

If I am reading that correctly, the generated code is expecting the
namespace but the server is not responding with one.  Is that what that
means?  Is there something I can tweak in the WSDL or the code to get
around this problem?

<wsdl:definitions
    targetNamespace="http://the.namespace.com/survey/"
    elementFormDefault="unqualified"
    attributeFormDefault="unqualified"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tbx="http://abc.stuff.com/"
    xmlns:rti="http://the.namespace.com/survey/">

  <wsdl:message name="create_profileParameters">
    <wsdl:part name="email" type="xsd:string" />
    <wsdl:part name="first_name" type="xsd:string" />
    <wsdl:part name="last_name" type="xsd:string" />
    <wsdl:part name="address1" type="xsd:string" />
    <wsdl:part name="address2" type="xsd:string" />
    <wsdl:part name="city" type="xsd:string" />
    <wsdl:part name="state" type="xsd:string" />
    <wsdl:part name="zip" type="xsd:string" />
    <wsdl:part name="age_range" type="xsd:string" />
    <wsdl:part name="home_phone_number" type="xsd:string" />
  </wsdl:message>

  <wsdl:message name="fetch_profileParameters">
    <wsdl:part name="email" type="xsd:string" />
  </wsdl:message>

  <wsdl:message name="rtiResult">
    <wsdl:part name="cid" type="xsd:string" />
    <wsdl:part name="content" type="xsd:string" />
    <wsdl:part name="result" type="xsd:string" />
  </wsdl:message>

  <wsdl:portType name="RTI">

    <wsdl:operation name="create_profile">
      <wsdl:input message="rti:create_profileParameters" />
      <wsdl:output message="rti:rtiResult" />
    </wsdl:operation>

    <wsdl:operation name="fetch_profile">
      <wsdl:input message="rti:fetch_profileParameters" />
      <wsdl:output message="rti:rtiResult" />
    </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="SOAP" type="rti:RTI">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc"/>

    <wsdl:operation name="create_profile">
      <soap:operation soapAction="#create_profile"/>
      <wsdl:input>
        <soap:body namespace="http://the.namespace.com/survey/"
use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body namespace="http://the.namespace.com/survey/"
use="literal"/>
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="fetch_profile">
      <soap:operation soapAction="#fetch_profile"/>
      <wsdl:input>
        <soap:body namespace="http://the.namespace.com/survey/"
use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body namespace="http://the.namespace.com/survey/"
use="literal"/>
      </wsdl:output>
    </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="ToyboxService">
    <wsdl:documentation>stuff</wsdl:documentation>
    <wsdl:port name="RTI" binding="rti:SOAP">
      <soap:address location="http://the.namespace.com/survey/"/>
    </wsdl:port>
  </wsdl:service>

</wsdl:definitions>

--

-- 

Mitch Claborn
972-954-7341
mitch <at> claborn.net
Amit G Soni | 28 Dec 06:13
Favicon

SOAP WSA Header with jwsdp-1.6

Hi List,

 

I am using jwsdp-1.6 for generating webservices client stubs from WSDL file. The server side WSDL file is in .NET and uses security. So for this purpose I am using

jax-rpc and xwss functionality of the jwsdp-1.6. I am using the generated classes to call the server side mothods.

 

But when I am sending the request in which as a request I need to add the following header in SOAP header which is not added by default.

 

<wsa:Action soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"

       soapenv:mustUnderstand="1"    

       xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">

http://www.xxxx.com/Cardholder/v1:helloWorldIn

</wsa:Action>

<wsa:To>urn:EvolutionBenefits:Services:V1:CardholderService</wsa:To>

 

So any one of you have idea that how can I add the above tags within SOAP Header then please help me out.

 

Thanks,

Amit Soni

Mohan Davuluri | 14 Dec 21:07
Picon

Does the WSDL validate the request, response and fault types in Document-literal type of webservices

I am using Document-literal style in my WSDL. But i am using schema types to represent my request, response and fault types. Does the web service engine validate the request or response or fault against the XSDs in this style.
 
--M

Gmane