You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Douglas Bitting <Do...@agile.com> on 2002/08/20 06:28:35 UTC
PATCH: WSDDService.java
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
Re: PATCH: WSDDService.java
Posted by Davanum Srinivas <di...@yahoo.com>.
Done...Next time, please use bugzilla. http://nagoya.apache.org/bugzilla to report bugs and upload
patches.
Thanks,
dims
--- Douglas Bitting <Do...@agile.com> wrote:
> 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
>
>
=====
Davanum Srinivas - http://xml.apache.org/~dims/
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com