[JBossWS] - Authorization failure .NET client to secured Webservices
by marcelvanvelzen
Hi,
I am sorry for this posting, since I think this has been asked many many times. I have read all the related topics and tried many things, but still I cannot make my .NET client connect to my JBoss 4.0.5GA Webservices. My Visual Basic 2005 .NET client gives the error 'Authorization failed'. When I use @PermitAll it works fine. I really hope somebody can help me, since I have an idea what to do next.
What have I done:
1) Specified @SecurityDomain("AthenaWS") in the Webservice and added @RolesAllowed("RegularUser") for all methods. The annotations of the class start with:
@WebService (name="ApplicationEndPoint", serviceName="Application", targetNamespace = "http://address:8080/athenaserver")
@SOAPBinding (style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
@Stateless
@Remote(ApplicationRemote.class)
@RemoteBinding(jndiBinding = "/ejb3/ApplicationEndPoint")
@SecurityDomain("AthenaWS")
public class etc
2) Added the following text to JBOSS_HOME/server/default/conf/login-config.xml:
<!-- A template configuration for the AthenaWS web application (and transport layer!).
This defaults to the UsersRolesLoginModule the same as other and should be
changed to a stronger authentication mechanism as required.
-->
<application-policy name="AthenaWS">
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required">
<module-option name="usersProperties">props/athenaws-users.properties</module-option>
<module-option name="rolesProperties">props/athenaws-roles.properties</module-option>
<module-option name="unauthenticatedIdentity">anonymous</module-option>
<module-option name="hashEncoding">base64</module-option>
<!--
<module-option name="hashAlgorithm">MD5</module-option> (when basic works, I want to use digest authentication)
-->
</login-module>
</application-policy>
3) Placed athenaws-users.properties in the JBOSS_HOME/server/default/conf/props, this has the following contents:
velzm=secret
4) Placed athenaws-roles.properties in the JBOSS_HOME/server/default/conf/props, this has the following contents:
velzm=RegularUser
5) Downloaded Visual Basic 2005 Express Edition and SDK 2.0. I am using InfoPath 2007 but this cannot work with JBoss secured webservices directly, only using SharePoint Server this should be possible using UDC reading the documentation. However, I don't want this additional layer, so I am trying to make a work-a-round. I am using the tool wsdl.exe to generate a Visual Basic class for the webservice. Later when this works, I want to see if it possible to generate JavaScript code and embed this in the InfoPath form, so distribution no problem. With VB I must distribute the dll, which would suck.
6) Extended the generated VB webservice class, since preAuthenticate according to the topics gives problem. The VB code is:
Option Explicit On
Imports System
Imports System.IO
Imports System.Net
Imports System.Text
Public Class ApplicationWS
Inherits Application
Private nc As NetworkCredential = Nothing
Protected Overrides Function GetWebRequest(ByVal Uri As Uri) As System.Net.WebRequest
Dim request As System.Net.HttpWebRequest = MyBase.GetWebRequest(Uri)
If (MyBase.PreAuthenticate) Then
Dim nc As System.Net.NetworkCredential = MyBase.Credentials.GetCredential(Uri, "Basic")
Dim credBuf() As Byte = New System.Text.UTF8Encoding().GetBytes(nc.Domain + "\" + nc.UserName + ":" + nc.Password)
If Not credBuf Is Nothing Then
request.Headers("Authorization") = "Basic " + Convert.ToBase64String(credBuf)
End If
End If
GetWebRequest = request
End Function
Public Overloads Function getExchanges() As String()
Dim parms As New getExchanges
Return MyBase.getExchanges(parms)
End Function
Public Sub New()
MyBase.New()
MyBase.PreAuthenticate = False
End Sub
Public Sub New(ByVal domain As String, ByVal user As String, ByVal password As String)
MyBase.New()
MyBase.Credentials = New NetworkCredential(user, password, domain)
MyBase.PreAuthenticate = True
End Sub
End Class
7) Testing the stuff, by the following VB code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim application As New ApplicationWS("AthenaWS", "velzm", "secret")
Dim count As Integer
Try
Dim exchanges() As String = application.getExchanges()
For count = 0 To exchanges.Length - 1
Console.WriteLine(exchanges(count))
Next count
Console.Beep()
Catch ex As Exception
MsgBox("ex=" + ex.Message)
End Try
End Sub
This results in the message 'Authorization failure'. What's wrong ?
- In JBoss 4.0.5GA I don't see an annotation of validateUnauthorizedTrue, so I cannot set this to true.
Question which I have, is this option still necessary to set in JBoss 4.0.5GA ?
- JBOSS_HOME/server/default/logs/server.log shows the following line:
2006-12-02 09:18:20,062 DEBUG [jbossws.SOAPMessage] Incomming SOAPMessage
<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<soap:Header/>
<soap:Body>
</soap:Body></soap:Envelope>
Question which I have, where is the authentication header ?? I have used the debugger for overridded function GetWebRequest and this is called correctly, but is it not sending the information ? Or is it sending the information, but not showing up in the log ?
I really need some suggestions, since I am stuck.
Thanks in advance,
Marcel van Velzen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990739#3990739
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990739
19 years, 8 months
[JBoss Seam] - Re: Seam generate-entities failing
by Azavia
Oh, just got this:
Error - /CommentEdit.xhtml: Bean: com.azavia.blog.User_$$_javassist_5, property: id
| An Error Occurred:
| /CommentEdit.xhtml: Bean: com.azavia.blog.User_$$_javassist_5, property: id
| - Stack Trace
| javax.el.ELException: /CommentEdit.xhtml: Bean: com.azavia.blog.User_$$_javassist_5, property: id
| at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)
| at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:332)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:301)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:277)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
| at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| + Component Tree
| + Scoped Variables
| Dec 2, 2006 4:36:55 AM - Generated by Facelets
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990735#3990735
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990735
19 years, 8 months
[JBoss Seam] - Re: Seam generate-entities failing
by Azavia
Hi,
Unfortunately, that did not resolve the issue:
Error - Error Parsing /ArticleEdit.xhtml: Error Traced[line: 135] The element type "s:button" must be terminated by the matching end-tag "</s:button>".
| An Error Occurred:
| Error Parsing /ArticleEdit.xhtml: Error Traced[line: 135] The element type "s:button" must be terminated by the matching end-tag "</s:button>".
| - Stack Trace
| com.sun.facelets.FaceletException: Error Parsing /ArticleEdit.xhtml: Error Traced[line: 135] The element type "s:button" must be terminated by the matching
| end-tag "</s:button>".
| at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
| at com.sun.facelets.compiler.Compiler.compile(Compiler.java:104)
| at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192)
| at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141)
| at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93)
| at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| + Component Tree
| + Scoped Variables
| Dec 2, 2006 3:21:10 AM - Generated by Facelets
view/ArticleEdit.xhtml, lines 130-136:
<div class="actionButtons">
| <s:button id="addcomment" value="Add comment"
| view="/CommentEdit.xhtml" propagation="begin">
| <f:param name="articleId"
| value="#{articleHome.instance.id}"/>
| </s:link>
| </div>
|
Obviously this is easily resolved, but it is obviously a bug.
Further, I get this error when trying to create a comment:
Error - /CommentEdit.xhtml: Bean: com.azavia.blog.User, property: id
| An Error Occurred:
| /CommentEdit.xhtml: Bean: com.azavia.blog.User, property: id
| - Stack Trace
| javax.el.ELException: /CommentEdit.xhtml: Bean: com.azavia.blog.User, property: id
| at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:48)
| at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
| at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:332)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:301)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:277)
| at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
| at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
| at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| + Component Tree
| + Scoped Variables
| Dec 2, 2006 3:24:30 AM - Generated by Facelets
I don't know if this is it, but in CommentEdit.xhtml, there is:
<h:column>
| <f:facet name="header">user username</f:facet>
| #{article.user.id}
| </h:column>
|
Is ID required for every table? It seems to be recognizing my primary key just fine everywhere else.
Thanks for the replies.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990729#3990729
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990729
19 years, 8 months
[JBoss Seam] - Re: Seam generate-entities failing
by Azavia
OK, some more problems.
I was trying a bit more complicated example.
I had some tabls like the following:
mysql> show create table user;show create table article;show create table commen
| t;
| +-------+-----------------------------------------------------------------------
| --------------------------------------------------------------------------------
| -------+
| | Table | Create Table
|
| |
| +-------+-----------------------------------------------------------------------
| --------------------------------------------------------------------------------
| -------+
| | user | CREATE TABLE `user` (
| `username` varchar(50) NOT NULL,
| `email` varchar(255) NOT NULL,
| PRIMARY KEY (`username`)
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
| +-------+-----------------------------------------------------------------------
| --------------------------------------------------------------------------------
| -------+
| 1 row in set (0.22 sec)
|
| +---------+---------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| -------------------------------------------------------+
| | Table | Create Table
|
|
|
| |
| +---------+---------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| -------------------------------------------------------+
| | article | CREATE TABLE `article` (
| `id` int(10) unsigned NOT NULL auto_increment,
| `username` varchar(50) NOT NULL,
| `title` varchar(100) NOT NULL,
| `text` text NOT NULL,
| PRIMARY KEY (`id`),
| KEY `username` (`username`),
| CONSTRAINT `article_ibfk_1` FOREIGN KEY (`username`) REFERENCES `user` (`usern
| ame`) ON UPDATE CASCADE
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
| +---------+---------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| -------------------------------------------------------+
| 1 row in set (0.03 sec)
|
| +---------+---------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------+
| | Table | Create Table
|
|
|
|
|
|
| |
| +---------+---------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------+
| | comment | CREATE TABLE `comment` (
| `id` int(10) unsigned NOT NULL,
| `username` varchar(50) NOT NULL,
| `article_id` int(10) unsigned NOT NULL,
| `title` varchar(100) NOT NULL,
| `comment` text NOT NULL,
| PRIMARY KEY (`id`),
| KEY `username` (`username`),
| KEY `article_id` (`article_id`),
| CONSTRAINT `comment_ibfk_1` FOREIGN KEY (`username`) REFERENCES `user` (`usern
| ame`) ON DELETE CASCADE ON UPDATE CASCADE,
| CONSTRAINT `comment_ibfk_2` FOREIGN KEY (`article_id`) REFERENCES `article` (`
| id`) ON DELETE CASCADE ON UPDATE CASCADE
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
| +---------+---------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------------------------------------------------------------------
| --------------------+
| 1 row in set (0.01 sec)
|
| mysql>
so, i run seam generate-entities using this database, and a project I called blog.
It builds successfully, but I get some errors when I go to the project at http://localhost:8080/blog
The first noticeable thing is that when i go to create an article, or a user, etc, I get an error about requiring an ending s:button tag. When I looked at the template, for one of the tags, there was an s:button, but s:link was used to close it.
I don't know why is this happening. I'm guessing it is some bug. I figured this wasn't too complicated of an example to test on, but I don't know.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990723#3990723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990723
19 years, 8 months
[JBoss and NetBeans] - I want to use jboss deploy my web app, error!
by lcfzgb
I use jboss4.0.4 + netbeans5.5 + visualweb pack to develop a simple web application supporting jsf.
that doesn't works.
there is only a page and a table component on it bound a connected database (mssqlserver2000,I can see the connection status on the panel of ide)
when I run the project ,the iexplorer display as below:
HTTP Status 404 - /firstweb
--------------------------------------------------------------------------------
type Status report
message /firstweb
description The requested resource (/firstweb) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.17
So I don't know whether jboss as support jsf or confict with the netbeans' jsf implementation .I config the server to jboss as when set up the project.
I want to use jboss deploy my web app, what should I do? Please help me ! thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990720#3990720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990720
19 years, 8 months
[JBoss Seam] - Help - seam component not found:
by dustismo
I have been banging my head at this all day. I created an app using seam-gen backed by a mysql database with a few tables in it. Everything seemed to work fine, I can view the generated app but it won't display any of the records in the DB. I believe it is connected to the db, but for some reason it is not finding ANY of the components.
| 2006-12-01 20:20:45,728 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e75a11, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@3e91e7{ url=null ,addedOrder=0}
| 2006-12-01 20:20:45,859 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,859 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,860 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,878 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,878 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,878 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,879 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,879 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,879 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,880 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,880 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,880 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,881 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
| 2006-12-01 20:20:45,882 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: subUserHome
| 2006-12-01 20:20:45,882 DEBUG [org.jboss.seam.Component] seam component not found: subUserHome
| 2006-12-01 20:20:45,882 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] could not resolve name
|
|
Any help?
-Dustin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990718#3990718
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990718
19 years, 8 months
[JBoss Messaging] - Jboss messaging on Tomcat 5.5.17, Please help!
by meghanai_99
Hello all,
I have been given task of making Jbpm-BPEL run on Tomcat. So far I have successfully installed Jbpm on my tomcat using derby as database. From the couple of threads that I found on Jbpm forum, it sounds like I need to install 3 things on my tomcat to get Jbpm-BPEL working. [probably, no one has posted a success story yet :( ]
1. Jboss microcontainer [ I copied the jar files to tomcat\common\lib]
2. JMS. I have downloaded Jboss JMS and trying to figure out this one. I have never used messaging before so I am a newbie. The installation instructions I found described how to install it as standalone server on JBoss.
I see there is sar file in the distribution. I was wondering if I can create similar war file and deploy it to Tomcat. will it work?
3. Jboss webservices. That is next step. I haven't touched this one yet.
Can someone from JMS forum help me figure this out? I appreciate your help.
Thank you,
Meghana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990716#3990716
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990716
19 years, 8 months
[JBoss AOP] - Pls help with a simple Mixin problem
by guava
Hi,
I'm started to use the Introduction feature of JBossAOP and can not seem to get the Mixin working. Any help will be appreciated. I have one Pojo, one Aspect, one Mixin, and an interface the mixin implements. I'm running these in the same directory as the examples provided by JbossAOP. Following are the classes:
//------ MyPojo
public class MyPojo {
}
//------ MyInf
public interface MyInf {
String hello(String h);
}
//-----MyMixin
public class MyMixin implements MyInf {
public String hello(String h) {
return "Hello " + h;
}
}
//---- MyAspect
import org.jboss.aop.Aspect;
import org.jboss.aop.Mixin;
import org.jboss.aop.Introduction;
@Aspect
public class MyAspect
{
@Mixin (target=MyPojo.class, interfaces={MyInf.class})
public static MyMixin createMyMixin() {
return new MyMixin();
}
}
I'm getting a javassist.NotFoundException: LMyMixin when I run aop compiler.
Following are the build file and the stack trace:
//--------- stack trace
[aopc] [debug] Passed in instrumentor: null
[aopc] [debug] Defaulting instrumentor to: org.jboss.aop.instrument.Classic
Instrumentor
[aopc] [debug] jboss.aop.class.path: C:\tools\jboss-aop_1.5.2.GA\docs\aspec
t-framework\examples\temp1
[aopc] [debug] Looking for aspects in: MyAspect
[aopc] [debug] Found @Aspect in: MyAspect
[aopc] [debug] Looking for aspects in: MyInf
[aopc] [debug] Looking for aspects in: MyMixin
[aopc] [debug] Looking for aspects in: MyPojo
[aopc] [debug] jboss.aop.search.classpath: 'null' true
[aopc] [debug] jboss.aop.path: null
[aopc] [trying to transform] MyMixin
[aopc] [debug] There are no caller pointcuts!
[aopc] [debug] javassist.CtMethod@ca717109[public hello (Ljava/lang/String;
)Ljava/lang/String;] matches no pointcuts
[aopc] [debug] javassist.CtConstructor@fec107[public MyMixin ()V] matches n
o pointcuts
[aopc] [debug] was MyMixin converted: false
[aopc] [no comp needed] C:\tools\jboss-aop_1.5.2.GA\docs\aspect-framework\e
xamples\temp1\MyMixin.class
[aopc] [cannot compile] isInterface: MyInf
[aopc] [no comp needed] C:\tools\jboss-aop_1.5.2.GA\docs\aspect-framework\e
xamples\temp1\MyInf.class
[aopc] [trying to transform] MyAspect
[aopc] [debug] There are no caller pointcuts!
[aopc] [debug] javassist.CtMethod@8676605a[public static createMyMixin ()LM
yMixin;] matches no pointcuts
[aopc] [debug] javassist.CtConstructor@64f6cd[public MyAspect ()V] matches
no pointcuts
[aopc] [debug] was MyAspect converted: false
[aopc] [no comp needed] C:\tools\jboss-aop_1.5.2.GA\docs\aspect-framework\e
xamples\temp1\MyAspect.class
[aopc] [trying to transform] MyPojo
[aopc] [debug] There are no caller pointcuts!
[aopc] [debug] javassist.CtConstructor@5e5a50[public MyPojo ()V] matches no
pointcuts
[aopc] javassist.NotFoundException: LMyMixin
[aopc] at javassist.ClassPool.get(ClassPool.java:416)
[aopc] at org.jboss.aop.instrument.Instrumentor.addMixin(Instrumentor.j
ava:250)
[aopc] at org.jboss.aop.instrument.Instrumentor.instrumentIntroductions
(Instrumentor.java:336)
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.
java:672)
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:908)
[aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:820)
[aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:3
45)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:234)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:90)
[aopc] java.lang.RuntimeException: failed to transform: MyPojo
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.
java:732)
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:908)
[aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:820)
[aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:3
45)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:234)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:90)
[aopc] Caused by: javassist.NotFoundException: LMyMixin
[aopc] at javassist.ClassPool.get(ClassPool.java:416)
[aopc] at org.jboss.aop.instrument.Instrumentor.addMixin(Instrumentor.j
ava:250)
[aopc] at org.jboss.aop.instrument.Instrumentor.instrumentIntroductions
(Instrumentor.java:336)
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.
java:672)
[aopc] ... 5 more
[aopc] Exception in thread "main" java.lang.RuntimeException: failed to tra
nsform: MyPojo
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.
java:732)
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:908)
[aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:820)
[aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:3
45)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:234)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:90)
[aopc] Caused by: javassist.NotFoundException: LMyMixin
[aopc] at javassist.ClassPool.get(ClassPool.java:416)
[aopc] at org.jboss.aop.instrument.Instrumentor.addMixin(Instrumentor.j
ava:250)
[aopc] at org.jboss.aop.instrument.Instrumentor.instrumentIntroductions
(Instrumentor.java:336)
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.
java:672)
[aopc] ... 5 more
BUILD FAILED
C:\tools\jboss-aop_1.5.2.GA\docs\aspect-framework\examples\temp1\build.xml:33: J
ava returned: 1
//----- build.xml (identical to JBossAOP example jboss-aop_1.5.2.GA\docs\aspect-framework\examples\annotated-introduction)
<?xml version="1.0" encoding="UTF-8"?>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990715#3990715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990715
19 years, 8 months
[JBossWS] - Second parameter missing from generated WSDL
by cpmcda01
I have the following interface that I am exposing via web service:
| public interface StandardWebService {
| public PurchaseResult purchaseNew(PurchaseTransactionEntity e, Collection<PurchaseTransactionDetailEntity> c);
| public ReturnResult purchaseReturn(PurchaseTransactionEntity e, Collection<PurchaseTransactionDetailEntity> c);
| public VoidResult purchaseVoid(PurchaseTransactionEntity e);
| }
|
When I deploy my WAR file to JBoss, it creates the following WSDL. Notice that the purchaseNew and purchaseReturn methods only have the first parameter (PurchaseTransactionEntity). Perhaps it does not want to deal with collections as parameters? This is on JBoss 4.0.4GA with JBossWS 1.0.4GA and JBossEJB 3.0-rc9fd.
| <definitions name="StandardWebServiceService"
| targetNamespace="http://webservice.ejb.mc.foo.com/jaws"
| xmlns="http://schemas.xmlsoap.org/wsdl/"
| xmlns:ns1="http://sql.java/jaws"
| xmlns:ns2="http://entity.ejb.mc.foo.com/jaws"
| xmlns:ns3="http://result.ejb.mc.foo.com/jaws"
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
| xmlns:tns="http://webservice.ejb.mc.foo.com/jaws"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| <types>
| <schema elementFormDefault="qualified"
| targetNamespace="http://sql.java/jaws"
| xmlns="http://www.w3.org/2001/XMLSchema"
| xmlns:ns1="http://webservice.ejb.mc.foo.com/jaws"
| xmlns:ns2="http://entity.ejb.mc.foo.com/jaws"
| xmlns:ns4="http://result.ejb.mc.foo.com/jaws"
| xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
| xmlns:tns="http://sql.java/jaws"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
| <import namespace="http://result.ejb.mc.foo.com/jaws"/>
| <import namespace="http://entity.ejb.mc.foo.com/jaws"/>
| <import namespace="http://webservice.ejb.mc.foo.com/jaws"/>
| <complexType name="Date">
| <sequence>
| <element name="hours" type="int"/>
| <element name="minutes" type="int"/>
| <element name="seconds" type="int"/>
| <element name="time" type="long"/>
| </sequence>
| </complexType>
| <complexType name="Timestamp">
| <sequence>
| <element name="nanos" type="int"/>
| <element name="time" type="long"/>
| </sequence>
| </complexType>
| </schema>
| <schema elementFormDefault="qualified"
| targetNamespace="http://result.ejb.mc.foo.com/jaws"
| xmlns="http://www.w3.org/2001/XMLSchema"
| xmlns:ns1="http://webservice.ejb.mc.foo.com/jaws"
| xmlns:ns2="http://entity.ejb.mc.foo.com/jaws"
| xmlns:ns3="http://sql.java/jaws"
| xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
| xmlns:tns="http://result.ejb.mc.foo.com/jaws"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
| <import namespace="http://sql.java/jaws"/>
| <import namespace="http://entity.ejb.mc.foo.com/jaws"/>
| <import namespace="http://webservice.ejb.mc.foo.com/jaws"/>
| <complexType name="PurchaseResult">
| <sequence>
| <element name="failMsg" nillable="true" type="string"/>
| <element name="status" nillable="true" type="tns:ResultStatus"/>
| <element name="transaction" nillable="true"
| type="ns2:PurchaseTransactionEntity"/>
| </sequence>
| </complexType>
| <complexType name="ResultStatus">
| <sequence/>
| </complexType>
| <complexType name="ReturnResult">
| <sequence>
| <element name="status" nillable="true" type="tns:ResultStatus"/>
| <element name="transaction" nillable="true"
| type="ns2:PurchaseTransactionEntity"/>
| </sequence>
| </complexType>
| <complexType name="VoidResult">
| <sequence>
| <element name="purchaseTransactionEntity" nillable="true"
| type="ns2:PurchaseTransactionEntity"/>
| <element name="status" nillable="true" type="tns:ResultStatus"/>
| </sequence>
| </complexType>
| </schema>
| <schema elementFormDefault="qualified"
| targetNamespace="http://entity.ejb.mc.foo.com/jaws"
| xmlns="http://www.w3.org/2001/XMLSchema"
| xmlns:ns1="http://webservice.ejb.mc.foo.com/jaws"
| xmlns:ns3="http://sql.java/jaws"
| xmlns:ns4="http://result.ejb.mc.foo.com/jaws"
| xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
| xmlns:tns="http://entity.ejb.mc.foo.com/jaws"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
| <import namespace="http://sql.java/jaws"/>
| <import namespace="http://result.ejb.mc.foo.com/jaws"/>
| <import namespace="http://webservice.ejb.mc.foo.com/jaws"/>
| <complexType name="PurchaseTransactionEntity">
| <sequence>
| <element name="address1" nillable="true" type="string"/>
| <element name="address2" nillable="true" type="string"/>
| <element name="agentResultCd" nillable="true" type="string"/>
| <element name="birthDt" nillable="true" type="ns3:Date"/>
| <element name="city" nillable="true" type="string"/>
| <element name="comments" nillable="true" type="string"/>
| <element name="creationSourceCd" nillable="true" type="string"/>
| <element name="creationTs" nillable="true" type="ns3:Timestamp"/>
| <element name="creationUser" nillable="true" type="string"/>
| <element name="delayedInd" nillable="true" type="string"/>
| <element name="deniedInd" nillable="true" type="string"/>
| <element name="firstName" nillable="true" type="string"/>
| <element name="fraudInd" nillable="true" type="string"/>
| <element name="idExpDt" nillable="true" type="ns3:Date"/>
| <element name="idNbr" nillable="true" type="string"/>
| <element name="idStateCd" nillable="true" type="string"/>
| <element name="idTypeCd" nillable="true" type="string"/>
| <element name="lastChangeSourceCd" nillable="true" type="string"/>
| <element name="lastChangeTs" nillable="true" type="ns3:Timestamp"/>
| <element name="lastChangeUser" nillable="true" type="string"/>
| <element name="lastName" nillable="true" type="string"/>
| <element name="manualInd" nillable="true" type="string"/>
| <element name="middleName" nillable="true" type="string"/>
| <element name="pharmacySid" nillable="true" type="string"/>
| <element name="pharmacyTrxId" nillable="true" type="string"/>
| <element name="postalCd" nillable="true" type="string"/>
| <element name="processTime" nillable="true" type="int"/>
| <element name="sessionId" nillable="true" type="string"/>
| <element name="siteId" nillable="true" type="int"/>
| <element name="soldInd" nillable="true" type="string"/>
| <element name="stateCd" nillable="true" type="string"/>
| <element name="suffixName" nillable="true" type="string"/>
| <element name="suspicionCd" nillable="true" type="string"/>
| <element name="transactionCd" nillable="true" type="string"/>
| <element name="transactionDt" nillable="true" type="ns3:Timestamp"/>
| <element name="transactionSid" nillable="true" type="string"/>
| <element name="voidAuthUser" nillable="true" type="string"/>
| <element name="voidTs" nillable="true" type="ns3:Timestamp"/>
| <element name="voidUser" nillable="true" type="string"/>
| </sequence>
| </complexType>
| </schema>
| <schema elementFormDefault="qualified"
| targetNamespace="http://webservice.ejb.mc.foo.com/jaws"
| xmlns="http://www.w3.org/2001/XMLSchema"
| xmlns:ns2="http://entity.ejb.mc.foo.com/jaws"
| xmlns:ns3="http://sql.java/jaws"
| xmlns:ns4="http://result.ejb.mc.foo.com/jaws"
| xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
| xmlns:tns="http://webservice.ejb.mc.foo.com/jaws"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
| <import namespace="http://sql.java/jaws"/>
| <import namespace="http://result.ejb.mc.foo.com/jaws"/>
| <import namespace="http://entity.ejb.mc.foo.com/jaws"/>
| <complexType name="purchaseNew">
| <sequence>
| <element name="PurchaseTransactionEntity_1" nillable="true" type="ns2:PurchaseTransactionEntity"/>
| </sequence>
| </complexType>
| <complexType name="purchaseNewResponse">
| <sequence>
| <element name="result" nillable="true" type="ns4:PurchaseResult"/>
| </sequence>
| </complexType>
| <complexType name="purchaseReturn">
| <sequence>
| <element name="PurchaseTransactionEntity_1" nillable="true" type="ns2:PurchaseTransactionEntity"/>
| </sequence>
| </complexType>
| <complexType name="purchaseReturnResponse">
| <sequence>
| <element name="result" nillable="true" type="ns4:ReturnResult"/>
| </sequence>
| </complexType>
| <complexType name="purchaseVoid">
| <sequence>
| <element name="PurchaseTransactionEntity_1" nillable="true" type="ns2:PurchaseTransactionEntity"/>
| </sequence>
| </complexType>
| <complexType name="purchaseVoidResponse">
| <sequence>
| <element name="result" nillable="true" type="ns4:VoidResult"/>
| </sequence>
| </complexType>
| <element name="purchaseNew" type="tns:purchaseNew"/>
| <element name="purchaseNewResponse" type="tns:purchaseNewResponse"/>
| <element name="purchaseReturn" type="tns:purchaseReturn"/>
| <element name="purchaseReturnResponse" type="tns:purchaseReturnResponse"/>
| <element name="purchaseVoid" type="tns:purchaseVoid"/>
| <element name="purchaseVoidResponse" type="tns:purchaseVoidResponse"/>
| </schema>
| </types>
| <message name="StandardWebService_purchaseReturn">
| <part element="tns:purchaseReturn" name="parameters"/>
| </message>
| <message name="StandardWebService_purchaseVoidResponse">
| <part element="tns:purchaseVoidResponse" name="result"/>
| </message>
| <message name="StandardWebService_purchaseReturnResponse">
| <part element="tns:purchaseReturnResponse" name="result"/>
| </message>
| <message name="StandardWebService_purchaseVoid">
| <part element="tns:purchaseVoid" name="parameters"/>
| </message>
| <message name="StandardWebService_purchaseNew">
| <part element="tns:purchaseNew" name="parameters"/>
| </message>
| <message name="StandardWebService_purchaseNewResponse">
| <part element="tns:purchaseNewResponse" name="result"/>
| </message>
| <portType name="StandardWebService">
| <operation name="purchaseNew">
| <input message="tns:StandardWebService_purchaseNew"/>
| <output message="tns:StandardWebService_purchaseNewResponse"/>
| </operation>
| <operation name="purchaseReturn">
| <input message="tns:StandardWebService_purchaseReturn"/>
| <output message="tns:StandardWebService_purchaseReturnResponse"/>
| </operation>
| <operation name="purchaseVoid">
| <input message="tns:StandardWebService_purchaseVoid"/>
| <output message="tns:StandardWebService_purchaseVoidResponse"/>
| </operation>
| </portType>
| <binding name="StandardWebServiceBinding" type="tns:StandardWebService">
| <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
| <operation name="purchaseNew">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"/>
| </input>
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| <operation name="purchaseReturn">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"/>
| </input>
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| <operation name="purchaseVoid">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal"/>
| </input>
| <output>
| <soap:body use="literal"/>
| </output>
| </operation>
| </binding>
| <service name="StandardWebServiceService">
| <port binding="tns:StandardWebServiceBinding" name="StandardWebServicePort">
| <soap:address location="http://10.11.20.18:8080/mcWS"/>
| </port>
| </service>
| </definitions>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990569#3990569
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990569
19 years, 8 months