[JBossWS] - Re: Web service parameters are always null
by ppollard
Here it is:
| <definitions name='AbstractBeanService' targetNamespace='http://company.com/remedyAbstractService_1_0/types' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://company.com/remedyAbstractService_1_0/types' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
| <types>
| <xs:schema targetNamespace='http://company.com/remedyAbstractService_1_0/types' version='1.0' xmlns:tns='http://company.com/remedyAbstractService_1_0/types' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
| <xs:element name='sendTicketRequestToPartner' type='tns:sendTicketRequestToPartner'/>
| <xs:element name='sendTicketRequestToPartnerResponse' type='tns:sendTicketRequestToPartnerResponse'/>
| <xs:complexType name='sendTicketRequestToPartner'>
| <xs:sequence>
| <xs:element minOccurs='0' name='remedyUserID' type='xs:string'/>
| <xs:element minOccurs='0' name='remedyPassword' type='xs:string'/>
| <xs:element name='remedyTransactionCode' type='xs:int'/>
| <xs:element minOccurs='0' name='remedyTPSID' type='xs:string'/>
| <xs:element minOccurs='0' name='remedyTicketNumber' type='xs:string'/>
| <xs:element minOccurs='0' name='partner' type='xs:string'/>
| <xs:element minOccurs='0' name='partnerTicketNumber' type='xs:string'/>
| <xs:element minOccurs='0' name='technicalNotes' type='xs:string'/>
| <xs:element minOccurs='0' name='closedCode' type='xs:string'/>
| <xs:element minOccurs='0' name='resolvedBy' type='xs:string'/>
| <xs:element minOccurs='0' name='solution' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| <xs:complexType name='sendTicketRequestToPartnerResponse'>
| <xs:sequence>
| <xs:element minOccurs='0' name='result' type='xs:string'/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
| </types>
| <message name='AbstractBean_sendTicketRequestToPartner'>
| <part element='tns:sendTicketRequestToPartner' name='sendTicketRequestToPartner'></part>
| </message>
| <message name='AbstractBean_sendTicketRequestToPartnerResponse'>
| <part element='tns:sendTicketRequestToPartnerResponse' name='sendTicketRequestToPartnerResponse'></part>
| </message>
| <portType name='AbstractBean'>
| <operation name='sendTicketRequestToPartner' parameterOrder='sendTicketRequestToPartner'>
| <input message='tns:AbstractBean_sendTicketRequestToPartner'></input>
| <output message='tns:AbstractBean_sendTicketRequestToPartnerResponse'></output>
| </operation>
| </portType>
| <binding name='AbstractBeanBinding' type='tns:AbstractBean'>
| <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
| <operation name='sendTicketRequestToPartner'>
| <soap:operation soapAction=''/>
| <input>
| <soap:body use='literal'/>
| </input>
| <output>
| <soap:body use='literal'/>
| </output>
| </operation>
| </binding>
| <service name='AbstractBeanService'>
| <port binding='tns:AbstractBeanBinding' name='AbstractBeanPort'>
| <soap:address location='http://localhost:8080/remedyAbstractService/remedyAbstractService_1_0'/>
| </port>
| </service>
| </definitions>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093058#4093058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093058
18Â years, 7Â months
[JBoss Portal] - Extending UserPortlet, getting UserModule
by k3nnymusic
I am using jboss as 4.0.5 and jboss portal 2.4.2. I am trying to extend UserPortlet with my own functionality. First I created new portlet with existing sources such as UserPortlet.java, UserPortletConstants, all *.jsp from oryginal UserPortlet. I copied all sections of UserPortlet from core descriptors to my own ones and I added to project portal-lib.tld and portlet.tld.
I debbuged portlet and I have got init excepions in lines:
userModule = (UserModule)getPortletContext().getAttribute("UserModule");
| roleModule = (RoleModule)getPortletContext().getAttribute("RoleModule");
| mailModule = (MailModule)getPortletContext().getAttribute("MailModule");
| portletHelper = new PortletHelper(this);
|
| //
| if (userModule == null)
| {
| throw new PortletException("No user module");
| }
| if (roleModule == null)
| {
| throw new PortletException("No role module");
| }
| if (mailModule == null)
| {
| throw new PortletException("No mail module");
| }
because portlet context return nulls. What should I do? I must set this three attributes first? Where? Might be I forgot something in descriptors?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093057#4093057
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093057
18Â years, 7Â months
[JCA/JBoss] - Re: Help: Mbean exceptions on jboss startup
by sosoict1
This is the configuration of Mbean:
-------------------------------------------------------------------------------------
my-service.xml
------------------------------------------------------------------------------------
<server>
| <mbean code="org.jboss.resource.connectionmanager.NoTxConnectionManager"
| name="jboss.jca:service=NoTxCM,name=FileRA">
| <depends>jboss.jca:service=RARDeployer</depends>
| <depends optional-attribute-name="ManagedConnectionFactoryName">
| <mbean code="org.jboss.resource.connectionmanager.RARDeployment"
| name="jboss.jca:service=NoTxFile,name=FileRA">
| <depends optional-attribute-name="OldRarDeployment">
| jboss.jca:service=RARDeployment,name=FileRA
| </depends>
| <attribute name="JndiName">NoTransFile</attribute>
| </mbean>
| </depends>
|
| <depends optional-attribute-name="ManagedConnectionPool">
| <mbean code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
| name="jboss.jca:service=NoTxPool,name=FileRA">
| <attribute name="MinSize">0</attribute>
| <attribute name="MaxSize">50</attribute>
| <attribute name="BlockingTimeoutMillis">5000</attribute>
| <attribute name="IdleTimeoutMinutes">15</attribute>
| <attribute name="Criteria">ByContainer</attribute>
| </mbean>
| </depends>
| <depends optional-attribute-name="CachedConnectionManager">
| jboss.jca:service=CachedConnectionManager
| </depends>
| <depends optional-attribute-name="JaasSecurityManagerService">
| jboss.security:service=JaasSecurityManager
| </depends>
| </mbean>
| </server>----------------------------------------------------------------------------------
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093056#4093056
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093056
18Â years, 7Â months
[JBoss Seam] - Not able to deploy ANY seam examples in jboss.
by deepsix
I am just starting off with Seam and Jboss and i am having problems deploying the example applications found in the jboss-seam/example directory.
To define the actual process,
I downloaded jboss-seam-2.0.0.CR2 and jboss-4.2.1 GA.
Next i did an "ant" inside the jboss-seam-2.0.0.CR2 directory. (i had it initially installed inside E:\jboss. i also had the build.properties define jboss.home to "e:\jboss\jboss-4.2.1GA" folder which was where i had extracted the jboss AS.
The ant command downloaded a lot of jars inside my C:\documentes and settings\Administrator\.m2\.... and then complied against them.
The build was successful thankfully and then i went inside the example directory and into booking folder. When i do a "ant deploy" over there, all i see is this..
How do i actually make sure that the app is deployed?
compile:
[echo] lib is E:\jboss\jboss-seam-2.0.0.CR2\jboss-seam-2.0.0.CR2/lib
jar:
init.war:
war:
jboss.war:
ear:
archive:
datasource:
meldware:
deploy:
BUILD SUCCESSFUL
Total time: 1 second
E:\jboss\jboss-seam-2.0.0.CR2\jboss-seam-2.0.0.CR2\examples\booking>
Next, I copied the created "ear" and the xml file into the jboss deploy directory and started up the server. I dont see any unusual log message but when the
http://localhost:8080/jboss-seam-registration
I get a 404.
I am not sure what i am missing here.. Though it must be something trivial. Could somebody please help me out on this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093055#4093055
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093055
18Â years, 7Â months