axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Bitting <Douglas.Bitt...@agile.com>
Subject PATCH: WSDDService.java
Date Tue, 20 Aug 2002 04:28:35 GMT
Here is a patch to WSDDService that corrects a NPE that could arise when trying to initialize
a service descriptor without a MessageContext:

---- snip here ----
Index: src/org/apache/axis/deployment/wsdd/WSDDService.java
===================================================================
RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/deployment/wsdd/WSDDService.java,v
retrieving revision 1.78
diff -r1.78 WSDDService.java
62a63
> import org.apache.axis.MessageContext;
419c420
<             service.getInitializedServiceDesc(null);
---
>             service.getInitializedServiceDesc(MessageContext.getCurrentContext());
---- snip here ----

Cheers,
--Doug

Doug Bitting
Agile Software
1 Almaden Blvd
San Jose, CA  95113
(408) 999-7120



Mime
View raw message