[jboss-user] [JBoss jBPM] - Re: different workflows avec la meme definition de processus

2008-02-15 Thread RomeuFigueira
Bonjou bud.

Vous aves une mieux probalité de response si vous ecris (ecrite?) en anglais 
par ici.

Je pense que je poux vous aide en cette question.

On a utilisé JBPM per faire ce que vou describé, une aplication seulement 
automatique avec la utilization de SOA.

I'll est possible de utilizer multipule sistems que travaille sur un determine 
workflow.

Moi aussi utilisé 4 systems distributé sur plus de 20 workflows. La meieur 
chose est que je peux faire la constrution de le code java come blocs 
independent, et reorganize cette blocs de code pendant le type de workflow.

Je pense que cette information es vous util. Pardon per mes errors de 
français, cest plus de 10 ans que je ne ecrit en vottre language.

Salut


FOR THE ENGLISH Folks.

I've tryied to reply to Bob's question, regarding if JBPM could be used to link 
several different applications using the same variation of workflow or event 
several different workflows based on basic blocks.

Somewhat similar to the aproch I had when I had to build my first jbpm systems.

Best regards,

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129586#4129586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129586

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: how to return an empty http response instead of soapmess

2007-09-06 Thread RomeuFigueira
I had a similiar problem to the one you're having, but instead of a simple 
"http 200 ok" message I needed the actual empty SOAPMessage to be returned, 
like this one:

http://schemas.xmlsoap.org/soap/envelope/";>
  |
  |
  |   
  |
  | 

To make the actual message above, all I had to do was to match a void type of 
function return with the following WSDL mapping for it's return (in this case a 
void return):


If you should eliminate the above line then a single reply will be sent with 
the "http 200 ok" will be sent, therefore acting as a return receipt on an 
async call.

Last reference to be made about this is that this works at least in the JBossWS 
1.0.4

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081633#4081633

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081633
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs

2007-04-16 Thread RomeuFigueira
Apparently it should have been fixed by now:

http://jira.jboss.org/jira/browse/JBWS-1007



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037651#4037651

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037651
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs

2007-04-16 Thread RomeuFigueira
Until 1.0.4 you need to change also this line:

8080

which is located in deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.xml

You will need to expload jbossws.sar and jbossws.beans to get access to that 
particular xml file.

Once changed, both your tomcat an jbossws ports to the same one, you should 
have no problem regarding this issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037565#4037565

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Adittional instructions for JBoss Messaging Standalone +

2007-03-29 Thread RomeuFigueira
Missing code:


  |
  |
  |
  | 
  |   
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032712#4032712

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Adittional instructions for JBoss Messaging Standalone + Ora

2007-03-29 Thread RomeuFigueira
For anyone interested.

In case you want to use JBoss Messaging in a standalone mode (like instructed 
by the Wiki) and you want to use Oracle, you need these following aditional 
steps.

Edit messaging-standalone/conf/jboss-service.xml

Add anonymous wrote :   
  | 
  | 

Copy standardjbosscmp-jdbc.xml to the same folder (conf) as the previous file.

If you don't do this, then you will have a deployment error.

Could someone from the Messaging team validate these instructions, and if so 
add it to the wiki?

Was the only way I could get Messaging in a standalone environment while using 
an Oracle DB.

Cheers,

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032710#4032710

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: dynamic clients for JBossWS/JAX-WS endpoints

2007-03-23 Thread RomeuFigueira
You can always look into SAAJ, with some effort (initial one), you can develop 
some classes and make a dynamic client.

As for generating SOAP messages, try SOAPui, either the standalone app or the 
Eclipse plugin for JBoss IDE.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030976#4030976

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: go download jPDL 3.2.GA, it's good for you

2007-03-22 Thread RomeuFigueira
Hi Tom, great work!

One question tough:

The jbpm-console needs a few tables that are not (at least to me) included in 
the "jbpm-jpdl-3.2.GA\db" scripts.

Personaly I use Oracle, and I can't find in any other script these tables, 
needed by the jbpm-identity module:

anonymous wrote : 
  | - JBPM_ID_GROUP
  | - JBPM_ID_MEMBERSHIP
  | - JBPM_ID_PERMISSIONS
  | - JBPM_ID_USER 

Now, I know that these tables do exist, I've found them in the 
"\jbpm-jpdl-3.2.GA\server\server\jbpm\data\hypersonic\jbpmDB.script" used by 
the test server. 

But even in the "\jbpm-jpdl-3.2.GA\db\jbpm.jpdl.hsqldb.sql" they are not 
present.

In the 3.1.x version we could get them (different names though) through the ant 
task, but here as the db files are allready provided we cannot.

So, how can I get an "official" version of these tables for use in a "non-test" 
server?

Thanks


PS, Yes I now how to convert the hsqldb sql to Oracle, but I'm sure this issue 
will be brought up again.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030518#4030518

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030518
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM_VARIABLEINSTANCE.STRINGVALUE_ bug in 3.1.4

2007-03-07 Thread RomeuFigueira
Associated to http://jira.jboss.org/jira/browse/JBPM-893

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025893#4025893

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025893
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM_VARIABLEINSTANCE.STRINGVALUE_ bug in 3.1.4

2007-03-07 Thread RomeuFigueira
This is a forum entry to report a possible bug in JBPM 3.1.4, Oracle (not sure 
about others) DB scripts.

System: JBossAS 4.0.5 GA + jBPM 3.1.4 GA + RHEL 4 + Oracle 10g.

The column JBPM_VARIABLEINSTANCE.STRINGVALUE_ is slated as VARCHAR2(255 char) 
while JBPM_LOG.OLDSTRINGVALUE_ and JBPM.NEWSTRINGVALUE_ are slated as 
VARCHAR2(4000).

These two values should be a match between each other.

FIX:
Change the DB script for JBPM_VARIABLEINSTANCE, field STRINGVALUE_, from 
VARCHAR2(255 char) to VARCHAR2(4000 char).



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025892#4025892

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025892
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: generated wsdl always has port 8080 (even when it should

2007-03-06 Thread RomeuFigueira
Simplified answer:
anonymous wrote : File: modify 
/server/default/deploy/jbossweb-tomcat55.sar/server.xml
  | Change: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025331#4025331

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025331
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: compare dates

2007-02-22 Thread RomeuFigueira
Just a theoretical thought, why don't you write the dates like MMDD instead 
of the DDMM that you showed us?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020456#4020456

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4020456
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: type of variables

2007-02-13 Thread RomeuFigueira
place your code within [ code] [ /code] tags (without the leading spaces)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015915#4015915

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Sending XML doc as String parameter into WebService

2007-02-08 Thread RomeuFigueira
A quick and dirty solution is to embed the xml in   tags, 
like so:


  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013137#4013137

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013137
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to model a loop with GPD?

2007-02-01 Thread RomeuFigueira
To put it in a programatic way:

Let's say you have a 4 state cenario:
1 - Start State
2 - State A
3 - State B
4 - End State

The following transitions exist:
1 to 2
2 to 3
*2 to 4
3 to 2

The "2 to 4" transition should never been taken, therefore making a 2-3-2 loop 
for ever.

You could force this through an ActionHandler (check docs if you don't know 
what it is).
by forcing the "2 to 3" transition
context.leaveNode("2 to 3");

You could also hard code your transistions in the JPDL (xml source of the 
process) by placing conditions on the transactions (again see docs for this).


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009405#4009405

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009405
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How to model a loop with GPD?

2007-01-30 Thread RomeuFigueira
Yes, you can program a loop in the GPD.

Depending on the complexity of your loop, you may need to add some more logic 
through a programatic way.

I think you need to include an end state, but you can specify a way in wich the 
transaction to that state is never taken.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008379#4008379

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008379
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Question about retrieving User Object from ExecutionCont

2007-01-30 Thread RomeuFigueira
Further info:

jBPM 3.1.4
Oracle DB

and that "context" var that you see is an ExecutionContexttype of var.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008378#4008378

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008378
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Question about retrieving User Object from ExecutionContext

2007-01-30 Thread RomeuFigueira
So, I've got this object:

public class MySerializableClass implements java.io.Serializable {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | int member;
  | 
  | public MySerializableClass(int member){
  | this.member = member;
  | }
  | 
  | public boolean equals(Object o) {
  | if (! (o instanceof MySerializableClass)) return false;
  | return ( member == ((MySerializableClass)o).member );
  | }
  | }

which I put into the context in a certain node by:

context.setVariable("a", new MySerializableClass(4));

and then further down the workflow, I try to retrieve through this operation:
MySerializableClass msc = (MySerializableClass) context.getVariable("a");

And this operation leads to this error:
 java.lang.ClassCastException: common.types.MySerializableClass
  | at 
jbpm.notifications.InsertEvent_ActionHandler.execute(InsertEvent_ActionHandler.java:55)
  | at org.jbpm.graph.def.Action.execute(Action.java:123)
  | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | at org.jbpm.graph.def.Node.enter(Node.java:301)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.graph.def.Node_$$_javassist_46.enter(Node_$$_javassist_46.java)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at 
org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136)
  | at org.jbpm.graph.node.Decision.execute(Decision.java:146)
  | at org.jbpm.graph.def.Node.enter(Node.java:316)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.graph.def.Node_$$_javassist_46.enter(Node_$$_javassist_46.java)
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:205)
  | at 
org.jbpm.graph.def.Node_$$_javassist_46.leave(Node_$$_javassist_46.java)
  | at org.jbpm.graph.exe.Token.signal(Token.java:178)
  | at org.jbpm.graph.exe.Token.signal(Token.java:123)
  | at vvp.ws.notifications.NotificationsWS.Notify(NotificationsWS.java:122)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:91)
  | at 
org.jboss.ws.server.AbstractServiceEndpointInvoker.invoke(AbstractServiceEndpointInvoker.java:151)
  | at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:195)
  | at 
org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:373)
  | at 
org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:116)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:77)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filte

[jboss-user] [JBoss jBPM] - Re: jBPM jPDL 3.1.4 Released

2007-01-26 Thread RomeuFigueira
Tom, the Starters Kit zip-file is reporting as corrupt.

The other two files are fine.

Could you check/confirm this?

Thanks

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006902#4006902

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006902
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: a graph problem

2007-01-25 Thread RomeuFigueira
@estaub, an answer like isn't the kind of that makes theses forums progress, 
neither it helps the user who made it.

The question may have not been properly formulated, in english terms, but it is 
a valid question, so it should be anwsered.

@asset: Yes, sometimes the graphic representation gets messeded up, placing all 
nodes into a single point. Personally I get this when I'm touching the JPDL 
code (XML under source tag), adding graphic elements that weren't there in the 
first place. 

I'm getting this behaviour in JBoss IDE 2.0.0 Beta2, so what IDE are you using?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006385#4006385

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS tutorial

2007-01-16 Thread RomeuFigueira
"Sanver" wrote : Will you finally release a userguide?

http://labs.jboss.com/portal/jbossws/user-guide/en/html/index.html

It's been there for quite some time now. (Reference obtained through the wiki)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002249#4002249

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002249
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: web service address on jboss 4.0.5

2006-11-30 Thread RomeuFigueira
You need to "explode" the jbossws.sar under server/your_server/deploy

Inside it, explode jbossws.beans.

Go to 

\jbossws.beans\META-INF

and edit jboss-beans.xml.

There you will find your missing properties.
If not, you can add them, like I did to run on port 8060.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990013#3990013

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Waiting for external input

2006-11-29 Thread RomeuFigueira
@dslevine and kukeltje

Thank you for your input, a working solution is being fabricated ;)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989653#3989653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Waiting for external input

2006-11-27 Thread RomeuFigueira
This is a theoretical question. Let's say that we have a certain process which 
in the middle of execution needs an external input.

So, how can the external input be directed to that node which is in a wait 
state?

Let's say that I have a JbossWS service running on the server and that as an 
action of that WS, an input should be directed to that specific process 
instance/node?

What should I be looking for, in terms of knowing the correct node to place my 
input?

Thanks



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989013#3989013

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-14 Thread RomeuFigueira
Finally managed to fix this.

After spending the last hours dealing with JBossWS source-code, I've managed to 
do a small change that enabled my message to be correctly interpreted.

If you remmember I wasn't specifining in my mimeheaders, where my rootpart was. 
The problem was that the class MultipartRelatedDecoder wasn't computing a valid 
MIME boundary, the one I was getting was messy, making the code skip my 
text/xml part into the attachment part, thus giving out those errors.

After interpreting both InputStreams, the main difference from any of my 
standalone clients and the SOAPUi or the Junit test reports was that without a 
start part, my InputStream started in the first line, while the other started a 
line below.

So, in order to enable a detection of a valid boundary, I had to do the 
following change to MultipartRelatedDecoder.java:

old:

  | try
  | {
  | boundary = ("\r\n--" + boundaryParameter).getBytes("US-ASCII");
  | }
  | 


new:

  | try
  | {
  | if(start==null)
  | boundary = ("--" + boundaryParameter).getBytes("US-ASCII");
  | else
  | boundary = ("\r\n--" + boundaryParameter).getBytes("US-ASCII");
  | }
  | 

This way, both systems work. IMO the old code is a little bit too hard-coded in 
this aspect, giving a weird error when the simple difference between files was 
a linefeed (which I didn't program in my code, it was introduced through the 
communication layer).

Perhaps this aspect could be improved.

Thanks for making this project opensource, if not it would have been almost 
impossible to work this out.

Regards,

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985919#3985919

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Exception while deploying a webservice with attachment (

2006-11-14 Thread RomeuFigueira
Indeed you are right, wstools does not go along with more complex types 
necessary for attachment. One has to do them by hand, or using a place holder.

As for the mapping error, in your jaxrcp-mapping.xml do you place strings as:
java.lang.String?

And in your wsdl file, do you have them as:
 type='xsd:string'/>?

Note: the prefix xsd is linked with the following namespace 
(xmlns:xsd='http://www.w3.org/2001/XMLSchema'>)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985797#3985797

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: gSoap client with JBoss Ws. swa problem

2006-11-14 Thread RomeuFigueira
Hi, have you ever managed to get this problem fixed? I'm having a similar 
problem, a standalone client that links to a webservice running in JBoss.

It also works well without attachments but when attachments ocours, it colapses 
like yours.

My thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93907

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985804#3985804

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Bug/Missing feature in JBossWS build.xml

2006-11-13 Thread RomeuFigueira
Forgot to say, in build.xml of course ;)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=398#398

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=398
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Bug/Missing feature in JBossWS build.xml

2006-11-13 Thread RomeuFigueira
Add these bellow your 

Replace with appropriate settings



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985553#3985553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-13 Thread RomeuFigueira
Ok, after all this time I've did the following test:

Build and deployed jbossws-samples-swa.war from jbossws/samples to my JBoss 
Server.

Then I used AttachmentSAAJTestCase.java, again from jbossws/samples removing 
the Junit part, and it FAILED again with the same message:

multipart/related type specified a root type other than the one that was found.

I'm feeling that something is wrong here, but I cannot accert to what it is? Is 
it my SAAJ libraries, is it Jboss SAAJ implementation?

Heikko, Diesler, could you please share some insight into this? It would be 
much appreciated.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985372#3985372

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985372
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Exception while deploying a webservice with attachment (

2006-11-13 Thread RomeuFigueira
To deal with attachments within JBoss WS, you will need the the following files:

jax-mapping.xml (maps values to the wsdl)
webservices.xml
web.xml
your_wsdl_file.wsdl
your_class_files.class

The first three can be generated by wstools, altough from my personal 
experience, some manual tweaking is necessary.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985360#3985360

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985360
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Saving the Web Service Request as XML

2006-11-09 Thread RomeuFigueira
If your're talking about saving a copy of the SOAP message on the server, then 
a Handler would do that for you. 

You could program your HandleResponse part of the handler to save the incoming 
message into a xml file.

You will need to add the handler declaration to webservices.xml, setting your 
handler class (extending Handler or GenericHandler) in a separate java class 
(to be included in the WAR file as well).

.
  |
  |  
  |   ServiceHandler
  |   pakage.name.ServiceHandler
  | 
  |
  |  
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984612#3984612

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984612
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-08 Thread RomeuFigueira
"[EMAIL PROTECTED]" wrote : Sorry, i cannot dig into your problem in great 
detail right now, but did you checkout the following:
  | 
  | http://labs.jboss.com/portal/jbossws/user-guide/en/html/attachments.html
  | http://labs.jboss.com/portal/jbossws/user-guide/en/html/mtom-xop.html

Hi Heiko, I've seen those documents before. My service and client are even 
partially based on the samples provided by jbossws13 (all the way to wsdl and 
jax-mapping). I'm not using MTOM at this moment.

I'm starting to consider that I may have some JAR problems with my libraries 
but can't confirm it.

It's just plain weird that I can do a upload with SoapUI and can't with any of 
my SAAJ clients.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984101#3984101

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984101
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-08 Thread RomeuFigueira
Current JARs that I'm using to call this client:

  | activation.jar
  | mail.jar
  | saaj-api.jar
  | saaj-impl.jar
  | xercesImpl.jar
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984102#3984102

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984102
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-07 Thread RomeuFigueira
Ok, further info.

This is from a very similar webservice, only difference in this one is that it 
deals with JPEGs.

These are TCPmon captures.

My Client (attachment output ommited):
POST /MediationAttachPic HTTP/1.1
  | Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
  | Content-Type: multipart/related; 
  | type="text/xml"; 
  | boundary="=_Part_1_17933220.1162911613951"
  | Content-Length: 4228
  | SOAPAction: ""
  | Cache-Control: no-cache
  | Pragma: no-cache
  | User-Agent: Java/1.5.0_08
  | Host: 127.0.0.1:8081
  | Connection: keep-alive
  | 
  | --=_Part_1_17933220.1162911613951
  | Content-Type: text/xml; charset=utf-8
  | 
  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:com.mediation">
  |
  |   
  |  1
  |  xml-pic
  |   
  |
  |--=_Part_1_17933220.1162911613951
  |Content-Type: image/jpeg
  |Content-ID: 

SOAPui (attachment output ommited):
POST /MediationAttachPic HTTP/1.1
  | SOAPAction: ""
  | Content-Type: multipart/related; 
  | type="text/xml"; 
  | start="<[EMAIL PROTECTED]>"; 
  | boundary="=_Part_0_26490427.1162911728786"
  | MIME-Version: 1.0
  | User-Agent: Jakarta Commons-HttpClient/3.0.1
  | Host: 127.0.0.1:8081
  | Content-Length: 4381
  | 
  | 
  | --=_Part_0_26490427.1162911728786
  | Content-Type: text/xml; charset=UTF-8
  | Content-Transfer-Encoding: 8bit
  | Content-ID: <[EMAIL PROTECTED]>
  |http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:com.mediation">   
  |  
  | 
  |   
  | 2 
  | xml_pic  
  | 
  |   
  |
  |--=_Part_0_26490427.1162911728786
  |Content-Type: image/jpeg
  |Content-Transfer-Encoding: binary
  |Content-ID: 
  |<[EMAIL PROTECTED]>

The main difference to me is this line, which I believe is the one causing 
errors:
start="<[EMAIL PROTECTED]>"; 

How can I define this in my client?

SAAJ_ATTACH_CLIENT

  | public class SAAJ_Attach_Client
  | {
  | public static final String NAMESPACE_URI = "com.mediation";
  | public static final String PREFIX = "urn";
  | public static final String METHOD = "depositAttach";
  | public static final File attach = new File("xml-pic.jpg");
  | public static final String WS_URI = 
"http://localhost:8081/MediationAttachPic";;
  | 
  | public static void main(String[] args)
  | {
  | 
  | try
  | {
  | MessageFactory msgFactory = 
MessageFactory.newInstance();
  | SOAPMessage msg = msgFactory.createMessage();
  | SOAPPart soapPart = msg.getSOAPPart();
  | SOAPEnvelope soapEnvelope = soapPart.getEnvelope();
  | 
  | 
soapEnvelope.addNamespaceDeclaration(PREFIX,PREFIX+":"+NAMESPACE_URI);
  | 
  | // for this tutorial web service, we don't have any 
headers,
  | // so detach the one we get for "free":
  | SOAPHeader soapHeader = soapEnvelope.getHeader();
  | soapHeader.detachNode();
  | 
  | // to the body, add the document we want to send to the
  | // profile update web service:
  | SOAPBody body = msg.getSOAPBody();
  | SOAPFactory soapFactory = SOAPFactory.newInstance();
  | Name bodyName = soapFactory.createName(METHOD,PREFIX, 
"");
  | SOAPBodyElement bodyElement = 
body.addBodyElement(bodyName);
  | 
  | // add the "profileID" element:
  | Name profileIDParamName = 
soapFactory.createName("id_lote");
  | SOAPElement profileID = 
bodyElement.addChildElement(profileIDParamName);
  | profileID.addTextNode("1");
  | 
  | // add the "profilePhotoRef" reference to the photo we 
will attach:
  | Name profilePhotoRefParamName = 
soapFactory.createName("file_name");
  | SOAPElement profilePhotoRef = 
bodyElement.addChildElement(profilePhotoRefParamName);
  | 
  | profilePhotoRef.addTextNode("xml-pic");
  | 
  | // get the image file and attach it:
  | AttachmentPart binaryAttachPart = null;
  | 
  | FileDataSource binaryFds = new FileDataSource(attach);
  | DataHandler binaryFileHandler = new 
DataHandler(binaryFds);
  | binaryAttachPart = 
msg.createAttachmentPart(binaryFileHandler);
  | binaryAttachPart.setContentType("image/jpeg");
  | 
  | binaryAttachPart.setContentId("");
  | msg.addAttachmentPart(binaryAttachPart); 
  | 
  | if (msg.saveRequired())
  | {
  | msg.saveChanges(

[jboss-user] [JBossWS] - Re: Client handler chain

2006-11-07 Thread RomeuFigueira
How do you deploy your app? 
Through a WAR file?
Did you build yourself the WAR file?

Maybe this thread could help you
[url]http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80866&start=-10&postdays=postDays&postorder=postOrder&highlight=highlight[/u

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983681#3983681

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983681
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-07 Thread RomeuFigueira
bump ;)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983680#3983680

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983680
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-03 Thread RomeuFigueira
Forgot to add:

Running JBoss AS 4.0.5 with JBossWS 1.0.3

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982920#3982920

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Problem with SAAJ Client for Webservice that receives attach

2006-11-03 Thread RomeuFigueira
Hi there, I've implemented a webservice (JSR-109) that receives two parameters 
and one attachment. It's working fine, testing with soapui 1.6 beta2 showed 
that my service could receive and store attachments without a problem.

Now I wanted to create a SAAJ client to make contact with such webservice. I 
have previous experience developing clients without the attachment part, but in 
this one I'm having problems.

I've based my client on this one 
http://labs.jboss.com/portal/jbossws/user-guide/en/html/attachments.html
but when interacting with the webservice, I keep on getting this message:

  | 
  | 
  | 
  | env:Client
  | multipart/related type specified a root 
type other than the one that was found.
  | 
  | 
  | 

This is my request message via soapUI

  |  --=_Part_1_20574010.1162549201841
  |  Content-Type: text/xml; charset=UTF-8
  |  Content-Transfer-Encoding: 8bit
  |  Content-ID: <[EMAIL PROTECTED]>
  |  
  |  http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:.mediation">
  | 
  | 
  |
  |   5
  |   text
  |
  | 
  |  
  |  --=_Part_1_20574010.1162549201841
  |  Content-Type: text/plain; charset=us-ascii
  |  Content-Transfer-Encoding: 7bit
  |  Content-ID: <[EMAIL PROTECTED]>
  |  
  |  Text message here
  |  --=_Part_1_20574010.1162549201841--
  | 

And this is my message via my SAAJ client

  | --=_Part_0_12285029.1162549416820
  | Content-Type: text/xml; charset=utf-8
  | 
  | http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:urn="urn:mediation">
  | 
  | 
  | 
  | 1
  | text
  | 
  | 
  | 
  | --=_Part_0_12285029.1162549416820
  | Content-Type: multipart/mixed; 
  | boundary="=_Part_0_28470003.1162549416710"
  | Content-ID: <[EMAIL PROTECTED]>
  | 
  | --=_Part_0_28470003.1162549416710
  | Content-Type: text/plain
  | 
  | Text message here
  | --=_Part_0_28470003.1162549416710--
  | 
  | --=_Part_0_12285029.1162549416820--
  | 

Additionaly, here is the header of the SOAP transmission from soapUI

  |  SOAPAction: ""
  |  Content-Type: multipart/related; type="text/xml"; 
  |  start="<[EMAIL PROTECTED]>"; 
  |  boundary="=_Part_1_20574010.1162549201841
  |  MIME-Version: 1.0
  |  User-Agent: Jakarta Commons-HttpClient/3.0.1
  |  Host: localhost:8080
  |  Content-Length: 697
  | 

Now, here's my problem, I know that the messages are correct, as you can also 
see, but there must be something wrong with my definiton of attachment. I 
cannot reproduce the part highlighted in the soapui message, and think that is 
where my problem lays. Somewere in server process, when the message goes 
through my client, it can't split the message into two, the Body Part and the 
Attachment part, and complains when it finds a "text/plain" instead of 
"text/xml".

Can you help me here?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982915#3982915

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: jaxrpc interop

2006-11-03 Thread RomeuFigueira
You could try and modify your client to include a line like this.

envelope.addNamespaceDeclaration(PREFIX,NAMESPACE_URI);

Where prefix would be "rpc" and NAMESPACE "http://org.jboss.ws/samples/rpcstyle";

That would add an adicional name space declaration like in your soapui example.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982902#3982902

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982902
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: getting ip address from webservice

2006-10-31 Thread RomeuFigueira
What if one doesn't have that property listed (remoteaddr?)

public boolean handleRequest(MessageContext messageContext)
  | {
  | String IP = (String) messageContext.getProperty("remoteaddr");
  | 
  | System.out.println("Remote IP: " + IP);
  | 
  | Iterator propertyNames = messageContext.getPropertyNames(  );
  | while ( propertyNames.hasNext(  ) )
  | {
  | String keyName = (String) propertyNames.next(  );
  | System.out.println("Key: " + keyName + " Val: " + 
messageContext.getProperty( keyName ).toString() );
  | }
  | 
  | continues
  | 
  | 

The first one gives me null, and listing the properties shows no "remoteaddr".


  | 2006-10-31 11:57:34,784 INFO  [STDOUT] Remote IP: null
  | 2006-10-31 11:57:34,784 INFO  [STDOUT] Key: javax.xml.ws.servlet.request 
Val:[EMAIL PROTECTED]
  | 2006-10-31 11:57:34,784 INFO  [STDOUT] Key: javax.xml.ws.servlet.context 
Val:[EMAIL PROTECTED]
  | 2006-10-31 11:57:34,784 INFO  [STDOUT] Key: javax.xml.ws.servlet.response 
Val:[EMAIL PROTECTED]
  | 2006-10-31 11:57:34,784 INFO  [STDOUT] Key: javax.xml.ws.servlet.session 
Val:[EMAIL PROTECTED]
  | 

Is there anything more to configure or am I missing something else in my calls?

Soft: Jboss AS 4.0.5, JBossWS 1.0.3 GA, Server Windows and HP-UX

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982034#3982034

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Changed ports with partial success

2006-10-30 Thread RomeuFigueira
Thanks for the info.

You've put me in the right path.

So here goes my solution in case somebody else needs it.

Running JBoss AS 4.0.5 with Jbossws.sar (JDK 1.5)

What I did was to unzip the jbossws.beans file to a folder called 
jbossws.beans, then inside it changed the jboss-beans.xml file where the 
webserviceport was located (in Jbossws.sar (JDK 1.5), jboss-service.xml there 
was no webserviceport descriptor, nor could I add the similar one from JDK 1.4).

It's running as it should now,

thanks again andy.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981009#3981009

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981009
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: endpoint handler

2006-10-30 Thread RomeuFigueira
To further clear my previous post, here's my complete description:

I've got 3 java files
1 - My WS interface
2 - My WS Implementacion
3 - My Handler class (in this case a class for handling attachments)

With the WS Plugin, I've generated my WS artifacts (WSDL file, web.xml, 
webservices.xml and jaxrpc-mapping.xml).

Problem is that webservices.xml didn't include any link to the handler, so I 
had to manually insert them (see above post).

Then it was just a case of packagin my files into a .WAR file (ant - f 
packaging-build.xml) and deploy it to my JBoss AS.

Hope this helps anyone with this sort of problem.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981699#3981699

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981699
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: endpoint handler

2006-10-30 Thread RomeuFigueira
I've solved this problem by:

1º Generating the artifacts first (JbossIDE WS Pluggin (2.0 Beta2))
2º Manually editing webservices.xml to include the following lines:


  |  
  |
  | ServiceAttachmentHandler
  | provisioning.ServiceAttachmentHandler
  | 
  |   
  | .

Handler is now properly interpreted as shown in the jboss log.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981693#3981693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981693

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBOSS Web Services node not showing web service after ge

2006-10-26 Thread RomeuFigueira
You need to change the view from "Package Explorer" to "Project Explorer".

You can do that by going into "Window -> Show View -> Other"

Then using the filter for "Project Explorer"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981010#3981010

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Changed ports with partial success

2006-10-25 Thread RomeuFigueira
I'm deploying a JBoss AS 4.0.5 to a development enverionment on HP-UX. Due to 
some other application using port 8080 I had to change it to 8060.

All of this worked out fine, I can access the web console throught the 
http://ip-address:8060

Problem is that I'm using JBossWS and in that web console for endpoints
http://ip-address:8060/jbossws/services

my endpoints are still listed as runing on port 8080 (both on display and on 
using ?WSDL to show the code).

Now, I've double checked my procedure by replicating in my test envirionment 
which is Windows and the same situation ocours. I've also looked into all xml 
files for descriptions of port 8080 and changed it to 8060, which worked, Jboss 
is on 8060.

Now, how can I have my WS endpoints show up as 8060 instead of 8080?

Regards,

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980653#3980653

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980653
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS Plugin for JBossIDE / Eclipse

2006-10-24 Thread RomeuFigueira
Hi there, I've found out what the problem was.

For a reason still unknonw to me (as it was a fresh out of the box install), my 
WS project was targeted to run on Java 6 while my development envirionment was 
set to Java 5.

I will be developing with this tool, strying to get a grip with some functions. 
I've also noticed some very minor discrepancies between the tutorial at soapui 
and what the tool presents to users (besides some also very minor glitches in 
the tutorial like calling .war files .jar). 

I'm not sure if this (JBossWS forum) would be the best way to give you some 
feedback on these matters or if you otherwise prefer that my feedback input 
would be put through other means.

Best regards,

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980293#3980293

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980293
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS Plugin for JBossIDE / Eclipse

2006-10-23 Thread RomeuFigueira
Hi there, I'm using a fresh install of JBossIDE 2.0 Beta 2 along with JBossAS 
4.0.5 to which I've added the JDK5 version of JBossWS.

While trying to do the following step: Context Menu - Jboss Ws - Publish as Web 
Service, I'm getting the following:

Running JBossWS wstools for [ProvisioningService]
  | directory: C:\Temp\workspaceJboss\ProvisioningService
  | command: cmd.exe /C C:\Temp\jboss-4.0.5.GA\bin\wstools.bat -cp 
build/classes -config 
C:\DOCUME~1\ROMEU_~1\LOCALS~1\Temp\wstools-config42134.xml -dest 
C:\Temp\workspaceJboss\ProvisioningService\src\gen
  | ="
  | . 
  |   WSTools Environment
  | .
  |   JBOSS_HOME: C:\Temp\jboss-4.0.5.GA\bin\\..
  | .
  |   JAVA: C:\Program Files\Java\jdk1.5.0_07\bin\java
  | .
  |   JAVA_OPTS: 
  | .
  | ="
  | .
  | Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad 
version number in .class file
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.ws.tools.helpers.ToolsHelper.loadClass(ToolsHelper.java:369)
  | at 
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:110)
  | at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
  | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
  | at org.jboss.ws.tools.WSTools.main(WSTools.java:61)

Now it seems to be a conflict of java Versions, but I cannot seem to find out 
why.

Can you help me on this one?

Thanks,

Romeu

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980101#3980101

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980101
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: endpoint handler

2006-10-20 Thread RomeuFigueira
I'm also experiencing a similar behaviour under JBoss AS 4.0.4

I've tried all kind of handlers, mainly Handler and Generic Handler.

None of them is being triggered, as I'm placing a log call under each one of 
them and checking the server log for info but none of them shows up.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979689#3979689

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979689
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user