Nps Ferreira

Greenhorn
+ Follow
since Nov 22, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nps Ferreira

Hi,

Yes, here it is:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"/>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Unmarshalling Error: unexpected element (uri:"http://example.com", local:"password"). Expected elements are <{}userName>,<{}password></faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>



Cheers,

Bigster
9 years ago
Hi guys,

I´m puzzled with a problem in jboss EAP 6.2 about a web service.
This exactly web service was in the Jboss EAP 6.0 and have no problem of invocation. We install a newest version of the jboss EAP 6.2 and the SAME web service stop working.
After a long debugging the problem is in the namespace used in a particular element, but his don´t have any problem in a early version.

Here is the SOAP:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" >
<s:Header>
<h:auth xmlns="http://example.com" xmlns:h="http://example.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<password xmlns="">0000</password>
<userName xmlns="">potatoes</userName>
</h:auth>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<listEntities xmlns="http://example.com"></listEntities>
</s:Body>
</s:Envelope>

This way the web service fails in JBOSS 6.2 (and works in 6.0), if you remove the bold text of the element it works in JBOSS 6.2.
Why this behavior? and the problem is that i don´t have any control in the request so how i´m supposed to make it work?
This SOAP is generated in a Microsoft environment, but SOAP is SOAP it should work.

Have anyone any idea to make this work? Any config that i miss in the new version?


Cheers,

Bigster
9 years ago
Hi all,

I´m using the InheritanceType.JOINED strategy, but im getting this error when trying to define the @Version column.

here is my structure



This error occur when i put the @version annotation in my subclass, i get it, but i want to fill the version column with the value of the parent class (Resource) this dosent happen.

Anyone have any idea or passed for something like this?

cheers


Hi,

I agree with you, in the sequence diagram it´s a call like another. But in my assignment i have two ways of accessing the session beans, with a service locator and other with dependency injection.
And i have the problem of distinguish the two ways in the diagrams (class or sequence diagrams)

I´ve found i guy that represent the dependency injection in the class diagram with a stereotype <<injected>> in the attribute that represent the session bean that will be invoked.

This is the way?

cheers

Thanks for your replies.

The question remains, how can i represent a call in a sequence diagram assuming that i´m using dependency injection. I´m not aware of any arrow with dependency injection on it.
Can anyone point to any examples?

cheers,

Nuno Ferreira

Hi all,

I´m doing the assignment of the SCEA certification and i have a doubt:

How to use dependency injection in a session bean (EJB3) calling another session bean, how to represent this action in a Sequence diagram?

cheers,

Nuno Ferreira
Hi!!!
I have a bit of a question about the connection pooling in WAS. How can i refresh the connection pool??? Of course without creating a new connection in DBExplorer or restarting the WAS??
I now that changes in the WAS relative to DB2 BD dosen�t reflect auto, you have to create a script and run in the DB2 software, that�s how i do that, if anyone have other alternative please tell me. But the opposite dosen�t make any sense, if i make chages into the BD, i must have a meaning of making a refresh to the changes was reflected into the WAS.
I�m open to sugestions
cheers
21 years ago
Ok but where is the configuration of the Virtual Hosts in the WebsPhere, so i can configurate him???
cheers

Originally posted by Michael Zalewski:
More importantly... do you have 'localhost' as an alias in your Virtual Host? Since you said ort, I am assuming that you have set up a vitual host for several non-standard HTTP ports like http://localhost:8001, http://localhost:8002, ect. This works, but you have to put the alias for the port into the Virtual Host page.
[ November 26, 2002: Message edited by: Michael Zalewski ]

21 years ago
Hi!!
I hava a bit of a problem, because when i do "Run on Server" the web browser open in http://localhost ort/page.xxx and it dosen�t show the page, but if i put the localhost address it works, ex: 127.0.0.1 ort/page.xxx, and i have the file hosts well configured and if i ping the localhost, it shows me the IP address!!!
Does WAS have some kind of configuration for this???
cheers
21 years ago