[JBoss JIRA] Updated: (JBWS-1281) When an element is nil, weblogic (8.1 sp3) sends an element with xsi:nil='1', however, it does not send type information with xsi:type=xxxx. It causes exception in org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.java.
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1281?page=all ]
Thomas Diesler updated JBWS-1281:
---------------------------------
Assignee: Thomas Diesler
> When an element is nil, weblogic (8.1 sp3) sends an element with xsi:nil='1', however, it does not send type information with xsi:type=xxxx. It causes exception in org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.java.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBWS-1281
> URL: http://jira.jboss.com/jira/browse/JBWS-1281
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws
> Affects Versions: jbossws-1.0.2
> Environment: windows xp, linux, jdk1.5
> Reporter: George Gan
> Assigned To: Thomas Diesler
> Fix For: jbossws-2.0.0
>
> Attachments: SundayContentHandler.java
>
>
> When an element is nil, weblogic (8.1 sp3) sends an element with xsi:nil='1', however, it does not send type information with xsi:type=xxxx. It causes exception in org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.java. I hacked to code to only compare the localpart:
> public void endElement(String namespaceURI, String localName, String qName)
> {
> ElementBinding elementBinding = null;
> QName endName = localName.length() == 0 ? new QName(qName) : new QName(namespaceURI, localName);
> StackItem item;
> while(true)
> {
> item = stack.peek();
> if(item.cursor == null)
> {
> if(item.ended)
> {
> pop();
> if(item.particle.isRepeatable())
> {
> endRepeatableParticle(item.particle);
> }
> }
> else
> {
> elementBinding = (ElementBinding)item.particle.getTerm();
> item.ended = true;
> break;
> }
> }
> else
> {
> if(!item.ended) // could be ended if it's a choice
> {
> endParticle(item, endName, 1);
> }
> ParticleBinding currentParticle = item.cursor.getCurrentParticle();
> TermBinding term = currentParticle.getTerm();
> if(term.isWildcard() && currentParticle.isRepeatable())
> {
> endRepeatableParticle(currentParticle);
> }
> pop();
> if(item.particle.isRepeatable())
> {
> endRepeatableParticle(item.particle);
> }
> }
> }
> if(elementBinding == null)
> {
> throw new JBossXBRuntimeException("Failed to endElement " + qName + ": binding not found");
> }
> //if(!elementBinding.getQName().equals(endName)) <--------------------------------------- hack starts here
> // GG hack only compare the local parts. In the case of the an element is nil,
> // there is no type prefix
> if(!endName.getLocalPart().equals( elementBinding.getQName().getLocalPart()))
> {
> throw new JBossXBRuntimeException("Failed to end element " +
> new QName(namespaceURI, localName) +
> ": element on the stack is " + elementBinding.getQName()
> );
> }
> endElement();
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Updated: (JBWS-1556) @WebWservice does not work with class isolation
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1556?page=all ]
Thomas Diesler updated JBWS-1556:
---------------------------------
Assignee: Thomas Diesler
> @WebWservice does not work with class isolation
> ------------------------------------------------
>
> Key: JBWS-1556
> URL: http://jira.jboss.com/jira/browse/JBWS-1556
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws
> Reporter: Thomas Diesler
> Assigned To: Thomas Diesler
> Fix For: jbossws-2.0.0
>
>
> It seems that Web Services do not work when the EAR that contains the @WebService class has an isolated classloader. Here is my take on what happens:
> You deploy the ear and JBoss creates a war, that contains a web.xml, that points to the org.jboss.ws.server.ServiceEndpointServlet.
> You can send a request to the web service bean no problem, but any objects that get returned from it will throw a NoClassDefFoundError because this ServiceEndpointServlet is deployed outside of the EAR and, since it has an isolated classloader, can't reference the returned class.
> My application works absolutely fine when I turn off all isolation of the classloader. I don't think this can be fixed. Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Reopened: (JBWS-1093) Deploying a war that also contains normal servlets the web.xml is modified as if they are all endpoints
by Darran Lofthouse (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1093?page=all ]
Darran Lofthouse reopened JBWS-1093:
------------------------------------
Looks like it needs to be merged again.
> Deploying a war that also contains normal servlets the web.xml is modified as if they are all endpoints
> -------------------------------------------------------------------------------------------------------
>
> Key: JBWS-1093
> URL: http://jira.jboss.com/jira/browse/JBWS-1093
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws
> Affects Versions: jbossws-1.0.1
> Environment: Deploying to JBoss 4.0.4.GA
> Reporter: Darran Lofthouse
> Assigned To: Darran Lofthouse
> Fix For: jbossws-2.0.0, jbossws-1.0.4
>
>
> When deploying a war that contains web services the servlet definitions for the endpoints need to be modified so that they reference a JBossWS servlet instead of the endpoint implementation, this JBossWS implementation then delegates to the endpoint.
> For JBossWS 1.0.0 servlet entries were only modified if they were identified as endpoints based on the deployment of the webservices.xml
> For JBossWS 1.0.1 as part of removing the dependencies on JBossAS this was refactored and now the non web services servlets are identified if their name ends 'Servlet'. The original logic from JBossWS 1.0.0 needs to be reimplemented but we also need to take into acount the different deployment scenarios.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month