javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Cant do a getPort() specifiying a different SEI than the previous getPort(). PortQN: \{0}; current SEI: \{1}; previous SEI: \{2}

Spring JIRA | Matt B | 3 years ago
  1. 0

    I have very perplexing issue that I'm encountering at the moment with Websphere 7.0.0.27 and a particular web service call using the org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean class. I'm not sure that this is entirely a Spring issue, but I figured I'd report it just in case. I have a service call that is functioning perfectly fine when I start my server from scratch. I can call the service, get data back, and my app functions just fine. However, when I re-publish my application, subsequent calls result in the following: {noformat} javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Cant do a getPort() specifiying a different SEI than the previous getPort(). PortQN: \{0}; current SEI: \{1}; previous SEI: \{2} at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173) at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70) at org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118) at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:557) at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:372) at org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:178) at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:584) at org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:507) at javax.xml.ws.Service.getPort(Service.java:103) at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.getPortStub(JaxWsPortClientInterceptor.java:419) at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(JaxWsPortClientInterceptor.java:337) at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.invoke(JaxWsPortClientInterceptor.java:484) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy109.search(Unknown Source) at ... {noformat} It happens to the service call only after an app publish. I can call the service over and over without issue, then publish, and then I start getting this issue. After I restart Websphere, the problem is gone until I publish again. Also important is that this seems to only occur when I run the sever setting "Run server with resources within the workspace". The option "Run server with resources on Server" doesn't have this happen, but I don't want to use that setting because I need to do an entire publish (as opposed to simply a file save) to get my JSP changes to show up, and that's a bigger waste of time. Also, I'm using Eclipse (4.2) and this also happens in RAD (7.5).

    Spring JIRA | 3 years ago | Matt B
    javax.xml.ws.WebServiceException: ServiceDescription.updateEndpointDescription: Cant do a getPort() specifiying a different SEI than the previous getPort(). PortQN: \{0}; current SEI: \{1}; previous SEI: \{2}
  2. 0

    [axis2-1.6.1] samples - JAX-WS Calculator

    axis-java-user | 5 years ago | Stadelmann Josef
    javax.xml.ws.WebServiceException: Unable to create AxisService for CalculatorService
  3. 0

    java client can not login to access bronto wsdl

    Stack Overflow | 6 months ago | tukimin
    javax.xml.ws.WebServiceException: The Endpoint validation failed to validate due to the following errors: :: Invalid Endpoint Interface :: :: The operation names in the WSDL portType do not match the method names in the SEI or Web service implementation class. wsdl operations = [readLogins deleteLogins deleteDeliveryGroup addContactsToWorkflow readApiTokens updateMessageRules deleteMessageRules readLists deleteMessages updateSMSDeliveries readMessageFolders addUpdateOrder updateDeliveryGroup readHeaderFooters deleteApiTokens addFields deleteHeaderFooters deleteWorkflows addToList updateContentTags readActivities addSMSMessages readConversions deleteContacts addDeliveryGroup updateSMSKeywords updateMessages readUnsubscribes readContacts readRecentOutboundActivities addContentTags updateDeliveries deleteSMSMessages addSMSKeywords readWorkflows updateApiTokens readAccounts addToSMSKeyword removeFromList readDeliveryRecipients addLists readSegments readSMSKeywords readRecentInboundActivities addDeliveries addContacts addContactEvent deleteDeliveries login deleteOrders addOrUpdateDeliveryGroup updateMessageFolders addOrUpdateOrders addOrUpdateContacts readDeliveries readSMSDeliveries updateLists readContentTags addAccounts deleteLists deleteContentTags removeFromSMSKeyword addMessages readFields addHeaderFooters updateFields deleteFromDeliveryGroup clearLists addMessageRules updateSMSMessages deleteSMSKeywords logout addMessageFolders readMessages deleteAccounts readMessageRules addWorkflows updateWorkflows addConversion updateAccounts readBounces updateHeaderFooters deleteMessageFolders addLogins updateContacts readDeliveryGroups addToDeliveryGroup addSMSDeliveries deleteSMSDeliveries deleteFields readSMSMessages addApiTokens updateLogins readWebforms ] dispatch operations = [readApiTokens updateMessages readBounces updateSMSMessages addSMSKeywords readFields readSegments updateDeliveries addToSMSKeyword addSMSDeliveries addContacts addLists updateMessageFolders readActivities readRecentOutboundActivities deleteSMSMessages addOrUpdateOrders readConversions updateApiTokens addConversion readHeaderFooters addLogins clearLists addDeliveryGroup addMessages login deleteDeliveries addWorkflows addSMSMessages deleteMessageRules deleteContacts updateDeliveryGroup updateLists readSMSDeliveries addToDeliveryGroup deleteFields addUpdateOrder updateLogins updateSMSKeywords addOrUpdateDeliveryGroup readDeliveryRecipients addFields deleteWorkflows addContactEvent readWorkflows readSMSMessages readRecentInboundActivities addHeaderFooters deleteLists deleteApiTokens deleteContentTags readMessages readWebforms readMessageRules readContentTags addContactsToWorkflow deleteOrders deleteSMSDeliveries readDeliveryGroups addOrUpdateContacts addMessageRules deleteMessages updateMessageRules removeFromSMSKeyword readLists readLogins deleteLogins addAccounts addToList readUnsubscribes readSMSKeywords updateFields deleteDeliveryGroup updateContentTags readAccounts deleteFromDeliveryGroup deleteSMSKeywords updateWorkflows addApiTokens deleteAccounts readMessageFolders removeFromList updateAccounts addDeliveries addContentTags updateHeaderFooters null deleteHeaderFooters updateSMSDeliveries readContacts updateContacts deleteMessageFolders addMessageFolders readDeliveries ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to capture SoapRequest.xml and SoapResponse.xml

    Coderanch | 7 years ago | Murali Sridhar
    javax.xml.ws.WebServiceException: Dispatch creation failed. The {http://service.techc.com/spendingservice/}spendingservice port cannot be found. Verify that the port has been added to the service.
  6. 0

    Web Service client generated by wsdl not working with Deployed web sevrice

    Stack Overflow | 4 years ago
    javax.xml.ws.WebServiceException: An attempt was made to construct the ServiceDelegate object with an service name that is not valid: {http://customer.webservices.temenos.com}CustomerServiceWS.

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.ws.WebServiceException

      ServiceDescription.updateEndpointDescription: Cant do a getPort() specifiying a different SEI than the previous getPort(). PortQN: \{0}; current SEI: \{1}; previous SEI: \{2}

      at org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException()
    2. Axis2
      ExceptionFactory.makeWebServiceException
      1. org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:173)
      2. org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70)
      3. org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:118)
      3 frames
    3. Axis2
      DescriptionFactory.updateEndpoint
      1. org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.updateEndpointDescription(ServiceDescriptionImpl.java:557)
      2. org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.updateEndpoint(DescriptionFactoryImpl.java:372)
      3. org.apache.axis2.jaxws.description.DescriptionFactory.updateEndpoint(DescriptionFactory.java:178)
      3 frames
    4. Axis2
      ServiceDelegate.getPort
      1. org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:584)
      2. org.apache.axis2.jaxws.spi.ServiceDelegate.getPort(ServiceDelegate.java:507)
      2 frames
    5. Java RT
      Service.getPort
      1. javax.xml.ws.Service.getPort(Service.java:103)
      1 frame
    6. Spring
      JaxWsPortClientInterceptor.invoke
      1. org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.getPortStub(JaxWsPortClientInterceptor.java:419)
      2. org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(JaxWsPortClientInterceptor.java:337)
      3. org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.invoke(JaxWsPortClientInterceptor.java:484)
      3 frames
    7. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    8. Unknown
      $Proxy109.search
      1. $Proxy109.search(Unknown Source)
      1 frame