[jboss-user] [JBossWS] - Re: Problem using a SOAP interface on JBOSS server

2008-07-04 Thread gbc
Hi Milan,
 At this point you should have solve your problem, but how I find the same 
problem and the reason of it, I'm posting for others consult.

Apparently, WSConsume tool is generating wrong code when besides you specify an 
web URL to the wsdlLocation you specify a file URL.
The consequence is that the generated code point to an inexistent wsdl file, 
how you can see in the warning log "2008-05-11 16:13:35,514 WARN  
[org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot access wsdlUR
L: 
file:/C:/Documents%20and%20Settings/cm304k/My%20Documents/R7/WFM%20IIA/GRANITEAsgnMgmt_QNI_AD_MER
GE/GRANITEAsgnMgmt.wsdl".
To solve the problem you must edit the generated code of the Service class.
Where you read:

static {
URL url = null;
try {
url = new URL("file:/C:/META-INF/wsdl/ConsultarCPF.wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
CONSULTARCPF_WSDL_LOCATION = url;
 }

write:
static {
URL url = null;
url = 
ConsultarCPF.class.getResource("/META-INF/wsdl/ConsultarCPF.wsdl");
CONSULTARCPF_WSDL_LOCATION = url;
}

Regards, 
Gustavo

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

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


[jboss-user] [EJB 3.0] - Re: Configuring SFSB maximim size in EJB3

2007-09-06 Thread gbc
Hi,
 To use custom properties with EJB3 you have to declare this informations at 
ejb3-interceptors-aop.xml, or create a new file, like 
custom-ejb3-interceptors-aop.xml, and then you use the following annotation:

@AspectDomain("Put the Name of the Configuration Here")

Regards

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

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