Questions tagged [jbossws]

JBossWS features include many specifications / standards implementations as well as additional features, options, tools to improve ease of use, endpoint management and monitoring, etc.

JBossWS features include many specifications / standards implementations as well as additional features, options, tools to improve ease of use, endpoint management and monitoring, etc.

81 questions
1
vote
1 answer

How do I extend a wsimport-generated exception annotated with WebFault?

I'm building a web service in Java from an existing WSDL. The wsimport tool has generated all the Java classes bound to the elements in the service's schema. In particular, the fault declaration yields the following…
lindelof
  • 34,556
  • 31
  • 99
  • 140
1
vote
1 answer

how to bootstrap Spring in a JbossWS-CXF web service deployed in jboss AS 7.2

TLDR at the bottom: As per the JBossWS-cxf user guide, for a web service, the web.xml should contain the following
SGB
  • 2,118
  • 6
  • 28
  • 35
1
vote
1 answer

wsimport multiple generated wsdl's

I am using jbossws (with jax-ws) to serve 3 webservices generated from annotated POJOs. These 3 webservices share a few data classes and also have a common method (ping). They all reside in the same java package (namespace) The 3 WSDL files are…
Koen Weyn
  • 989
  • 1
  • 7
  • 12
1
vote
1 answer

Why do I get a webservice to be published in two different addresses using JBoss AS7?

As an exercise to get to know something about JAX-WS and CXF I decided to implement a small service that calculates BMI. It is based on this tutorial. I would assume that only the address I specify in the xml endpoint definition is used, but…
user1310388
1
vote
1 answer

How can I add WSDL restrictions programmatically?

Where I work, we have a policy in place that states we should try to build web services "bottom-up" (code-first). When doing this, how can I add restrictions within my XSD WSDL element? For example, in the following: import…
Neil McF
  • 259
  • 1
  • 15
1
vote
1 answer

WS-Security: @EndpointConfig not working

I want to build a simple example webservice that is protected by username and password. As a starting point I used: https://docs.jboss.org/author/display/JBWS/WS-Security The problem: every client even with wrong or missing credentials can invoke…
syr
  • 836
  • 1
  • 12
  • 28
1
vote
2 answers

JBossWS vs JAX-WS

This might be a trivial question, but it's been confusing me and I couldn't find a direct answer from google and through online searching. What is the difference between JBossWS and JAX-WS? Is JBossWS an implementation built on JAX-WS, so in a sense…
JackDev
  • 11,003
  • 12
  • 51
  • 68
1
vote
3 answers

Sending custom objects with kSOAP

i am using ksoap2 (ksoap2-android-assembly-3.0.0-RC.1-jar-with-dependencies.jar) to communicate my android app with soap service which is set up on jboss 7 (jboss-as-7.1.1_Final & jbossws-cxf-4.0.2.GA) with jaxws-2.2.6-2-20120518. I am able to fetch…
czaaja
  • 119
  • 2
  • 7
1
vote
1 answer

SOAP Object Serialization in Java

I am using JBoss AS 7.1.1 and JAX-WS 2.0. In my application, I need to pass a Map> to a service. I made a custom complex type which extends TreeMap. While debugging, I confirmed that the object I was trying to sent was…
Ethan Reesor
  • 2,090
  • 1
  • 23
  • 40
1
vote
3 answers

Class cast exception when invoking a web service in Jboss 4.2.3 GA

We have created a web service in Netbeans 7.1 which is running fine on glassfish 3.1.1. Now I have to move my service application to Jboss 4.2.3 GA-JDK6. There is no problem found when deploying the web service on Jboss, but however invoking the web…
KB Prodigy
  • 231
  • 5
  • 13
0
votes
1 answer

JBoss WS Temp file saved incorrectly

My problem from yesterday is say sorted. Not solved though. The NPE I had was triggered by a FileNotFoundException that was hidden until I switched to TRACE logging (org.jboss.util.xml.JBossEntityResolver)... So here is the thing: 1.) I'm trying to…
dbalakirev
  • 1,918
  • 3
  • 20
  • 31
0
votes
1 answer

Using spring together with jbossws-cxf on jboss 6

I want to use spring together with jbossws-cxf. Is this possible? First I tried using jbossws-cxf.xml with bean definitions of spring. The warning message [DescriptorDeploymentAspect] Spring not available, skipping check for user provided…
Toskan
  • 13,911
  • 14
  • 95
  • 185
0
votes
1 answer

Install CXF in Jboss5.0

Today i tried to install Apache CXF in JBOSS-WS. I followed the instructions from https://community.jboss.org/wiki/JBossWS-Installation. I am using jbossws-cxf-4.0.0.GA . I am getting an exception when i try to…
Dilip
  • 929
  • 3
  • 13
  • 32
0
votes
1 answer

How do I erase passwords from memory when using Username tokens with JBossWS?

I'm using JBoss Web Services for a payment service application. At some point I need to make remote SOAP calls to a payment service provider, and I need to authenticate with a Username token. The only way I know how to do this with JBossWS is like…
lindelof
  • 34,556
  • 31
  • 99
  • 140
0
votes
1 answer

Use DefaultSSLSocketFactory in WildFly/CXF Webservice client

I'm hoping someone can help me with this. I'm using the following : WildFly 9 jbossws-cxf-*-5.0.0.Final cxf-core-3.0.5 and I am dealing with an integration issue with a partner endpoint related to SNI in the HTTPS handshake. Following along with…
Tristan
  • 279
  • 5
  • 21